Results for "Author: territop"
Need to add a Sizing Grip to your form without the ComCtl32 overhead? Wish you could have a control which detects the OS version, applies the correct style (Windows Classic and XP Styles), and automatically adjusts it’s location based on the parent forms resize event? Then this control is for you…Simply drop the control anywhere on your form and it takes care of the rest….enjoy!
Ever wish you could add a Sizing Grip to your form without the added overhead of the ComCtl32? This control provides a nice work around and builds on the code of Karl Peterson’s subclassing technique to provide a lightweight solution that is only ~4kb. Simply drop on your form and of you go...
Does your application require plotting / charting of data? Do you like the plotting styles offered by Microsoft Excel, but do not want, or have time, to create a custom control of your own, then this wrapper class is for you. This class provides a simple interface to the complexities of the Excel object model and provides a simple and effective means to plot your data. Simply place an OLE2 container on your form, add the class to your project, set references, and pass it an array of data. In addition, this class supports either single or bi-directional error bars, and reduces some of complexities in handling this type of data. The chart interface, as with Excel’s, is fully customizable (colors, styles, grids, axis, fonts, etc..) at runtime, and supports direct OLE2 changes to the chart object by double clicking the object. So, if you need charting support, and do not want to spend a fortune on third party controls, then give this a try….
Looking for a method to produce transparency fading on forms that easy to use, lightweight (~9kb), and provides a clean method to subclass your forms Load/Unload events? Then this simple Transparency Control is for you! Just drop the control on the form and the rest is done for you…
Need a transparency fading effect for both SDI and MDI Forms? Want the control to be drop in place, lightweight (~10kb), provide Load/Unload event subclassing, and allow splash form sleeping? This simple Transparency Control does this and more...Just drop the control on the form, set the properties and that is it…No additional coding!
Does your application require plotting / charting of data? Do you like the plotting styles offered by Microsoft Excel, but do not want, or have time, to create a custom control of your own, then this wrapper class is for you. This class provides a simple interface to the complexities of the Excel object model and provides a simple and effective means to plot your data. Simply place an OLE2 container on your form, add the class to your project, set references, and pass it an array of data. In addition, this class supports either single or bi-directional error bars, and reduces some of complexities in handling this type of data. The chart interface, as with Excel’s, is fully customizable (colors, styles, grids, axis, fonts, etc..) at runtime, and supports direct OLE2 changes to the chart object by double clicking the object. So, if you need charting support, and do not want to spend a fortune on third party controls, then give this a try….
Need a transparency fading effect for both SDI and MDI Forms? Want the control to be drop in place, lightweight (~10kb), provide Load/Unload event subclassing, and allow splash form sleeping? This simple Transparency Control does this and more...Just drop the control on the form, set the properties and that is it…No additional coding!
Looking for a method to produce transparency fading on forms that easy to use, lightweight (~9kb), and provides a clean method to subclass your forms Load/Unload events? Then this simple Transparency Control is for you! Just drop the control on the form and the rest is done for you…
Ever wish you could add a Sizing Grip to your form without the added overhead of the ComCtl32? This control provides a nice work around and builds on the code of Karl Peterson’s subclassing technique to provide a lightweight solution that is only ~4kb. Simply drop on your form and of you go...
Need to add a Sizing Grip to your form without the ComCtl32 overhead? Wish you could have a control which detects the OS version, applies the correct style (Windows Classic and XP Styles), and automatically adjusts it’s location based on the parent forms resize event? Then this control is for you…Simply drop the control anywhere on your form and it takes care of the rest….enjoy!
This small project illustrates the concept of rounding numbers using significant digits. Unlike the Round function found in VB/VBA, which provides bankers rounding, this function provides the correct rounding of a number based on the number of significant digits needed. This basic concept is often over looked in scientific application development and is critical if your software is targeted to this audience. Take a look and provide some feedback… 29May05 - Fixed Bug with ComboBox.
Need a drop in place control to provide flicker free form subclassing that can monitor form size, form move, theme changes, system color changes, and display resolution changes, then give this control a try. Simply drop this control on your form, set the properties and that is it…no extra modules, no external dependencies, just this little control! This control not only does this, but prevents additional instances of itself to prevent nasty GPF’s. Huge thanks to Paul Caton for his self-subclassing templates and examples. This project simply pulls these ideas together in a neat little package, and I simply added a few additional events that might be handy for the developer….enjoy!
Do your forms need more real estate without the use of Tabs or Frames? Then check out this Sliding Panel Container Control. This control offers a fresh look and feel with the ability to “host / contain” subsequent controls. Many of the features of this combination control are customizable (i.e. Backcolor, Frame Shape, Color & Thickness, Rollup Speed, Button Type & Offset, Hosted Controls Dis/Enable, Entire Control Dis/Enable, Transparent/Opaque Backstyle, Frame Thickness, Plus 10 Events!). Suggestions and comments are welcome, as this is the first cut. Updated the VB catagory list (07Jul05).
Do your forms need more real estate without the use of Tabs or Frames? Then check out this Sliding Panel Container Control. This control offers a fresh look and feel with the ability to “host / contain” subsequent controls. Many of the features of this combination control are customizable (i.e. Backcolor, Frame Shape, Color & Thickness, Rollup Speed, Button Type & Offset, Hosted Controls Dis/Enable, Entire Control Dis/Enable, Transparent/Opaque Backstyle, Frame Thickness, Plus 10 Events!). Suggestions and comments are welcome, as this is the first cut. Tried to update project and PCS deleted the submission, so here it is again (07Jul05) TerriTop.
*Update 28Jun06* (v1.8.134) - Fixed minor bug in TrimPathByLen method and made it printer object independent. *Update 27Mar06 (v1.8.132)* – Added initial path subclassing CallBack for BrowseForFolder to allow initial path selection without external bas modules. Added Path Let Property and fixed several annoying bugs. Current version is stable and has been tested for several months prior to release... UserControl and TestHarness Updated...Enjoy! Update 04Jan06 (v1.32) – Support for Shell32 BrowseForFolder Added and TestHarness Updated. Update 06Jan06 (v1.33) – Minor bug fix in the DialogMsg when DialogType = ucFolder Updated UserControl and TestHarness. As a developer, one of the most mundane tasks I frequently encounter is the wiring-up and managing of the CommonDialog Controls. The ucPickBox has been designed as a lightweight (~80kb), drop in place, API implementation of the CommonDialog Controls which takes much of this hassle away! ucPickBox provides Color, Font, Open (Single / Mutlifile), Save and Print dialog support, while providing a clean GUI to display the results for both 3D and Flat visual styles. In addition, this UserControl exposes 44 Properties, 14 Methods, 13 Events, and 88 Dialog Flags as enumerations which makes it flexible and easy to use. Among the exposed function are handy tools like: ExractPath, ExtractFilename, FileExists, LongToHexColor, QualifyPath, TranslateColor, and TrimPathByLen. The enclosed project provides an extensive test-harness and documentation to explore the many facets of this UserControl. Enjoy!
Does your application need a Label, Status, and Button control rolled into one? Want more visual appeal than the current Win9X themes? Then check out this iCatcherLabel control which provides all the functionality of a standard label control, with the added features of native graphical buttons that also serve as status icons. This self-subclassed, All API UserControl provides extensive events (15 events) for both the label and button objects, and provides more than 30 properties to control color, alignment, shape, and many more. If you looking for something different, then this might be for you…
ucXTab UserControl is a self-contained (single file), self-subclassed (uses Paul Caton’s subclassing thunk) version of the XTab control submitted to PCS by Neeraj Agrawal. This control contains all of the key features of the original XTab control, but has been extensively reworked to utilize all GDI API drawing and updated subclassing techniques. ucXTab contains 5 tab themes (Windows 9x, Windows XP, VisualStudio, Rounded, and Galaxy), and two tab styles (traditional tabs, property page) which are fully customizable. In addition, key supported features are: dynamic tab addition/removal, adjustable tab heights, mouse-wheel tab scrolling, 14 customizable color properties, tab images, tab image alignment, ImageList support, accelerator key support, and theme detection. The number of properties, methods and events are too extensive to list; however, most of these can be explored fully with the provided test harness. ---------------------------------------------------------------------Update 14Nov06 (v1.0.85) – Now supports dynamic tab Insertion, Removal, and dynamic control addition for ANY tab via InsertTab, RemoveTab, and AddControl methods, respectively. In addition, ucXTab now supports per tab ControlBoxes which allows the user to close individual tabs similar to IE7 & FireFox. In support of the new features are 7 additional events to track Enter, Exit, Hover, MouseDown and MouseUp for the ControlBox, along with Insert and Remove Tab events. Previously reported (and unreported) graphical bugs have been fixed, and the test harness extended to test the new features. --------------------------------------------------------------------- Update 20Dec06 (v1.0.130) – Exposed support for dynamic Individual Tab Enable/Disable states, Updated Enabled property to paint the tab headers, body, and ControlBox correctly. Added TabOffset property to allow the developer to select the Left offset used for the “Tab” functionality. Added additional subclassing shut down support to handle host object closure prior to unsubclassing. Updated the test harness to illustrate the new functionality. --------------------------------------------------------------------- Update 11Mar07 (v1.0.152) – Added support for the 3 native Luna theme colors (NormalColor [Blue], HomeStead [Olive Green], and Metallic [Silver]) under xThemeWinXP TabTheme. Added additional Enabled/Disabled painting refinements for both the UserControl and individual Tabs. Fixed minor ControlBox painting bug. Fixed ControlBoxExit event bug which incorrectly fired on MouseHover. Enjoy, TerriTop
ucMsgBox is a single-file UserControl which uses Paul Caton’s self-subclassing thunk to provide the ultimate control over the System MsgBox. This control allows the developer to Change/Set the Startup Alignment (CenterScreen, CenterOwner), Prompt Alignment (Left, Center, Right), Fonts, Icons (Native + Custom), BackColor, and ForeColor. In addition, the Theme state of the MsgBox dialog is customizable and supports Auto, Win9x, and WinXP button Themes. Moreover, ucMsgBox provides the mechanism to turn any MsgBox into a SelfClosing dialog with countdown enumeration. To provide accuracy of the countdown, one can set the ThreadPriority to allow for high resolution timing. In short, this UserControl takes the standard MsgBox to a new level with out changing one line of code for standard MsgBox calls!!! -------------------------------------------------------------------------(Update 16Mar07 – v1.0.240) Fixed minor bug in the SetProcessPriority Method, Added support for all default WinXP Luna Styles (Blue (Blue), Olive Green (HomeStead), Silver (Metallic). Enhance Win9x drawing style to support custom captions, Added Caption Property to provide custom button captions, Added CaptionType Property to allow rapid switching between default and custom captions, Added Subclass_StopAll to the zIdx Method to prevent loss of Mouse and Keyboard inputs when the hWnd is null (see zIdx Method Notes). Enjoy, TerriTop
*UPDATE-v1.0.142* - Fixed Tab Offset for TabCount > 10, Optimized Contained Controls Movement to allow for upto TabCount <= 45. *UPDATE-v1.0.139* - Fixed GDI Leak in Circular Gradient Method which Caused out of Memory Error. ucTabStrip emulates the Microsoft’s Visual Studio Style while providing “true” container support not found in VB’s native version. In addition, this control provides multi-row support, 6 background gradient styles, 8 custom color properties, transparent tab headers style, tab mouse-over hovering, accelerator keys, and a host of appearance and alignment properties for allowing complete customization. Moreover, this control implements a rich assortment of public events (15) to provide the developer with the tools needed to get the job done. So if your looking for an alternative to the native controls, and don’t have time to build your own, then check out this little ditty…TerriTop
ucTimer is a self-subclassed API timer control which is polymorphic to the native VB Timer control. This drop in place control provides all the functionality of the native control, along with setting of process priority and timer directionality (i.e. CountUp or CountDown). This UserControl, which was loosely fashioned after the count down timer of ucMsgBox (PCSID: 67387), is an attempt to solve the single file issues described in Paul Mathers VB Timer submission (PCSID: 3596). Hope this is of use.…..Enjoy! TerriTop