Results for "Category: Custom Controls/ Forms/ Menus"
'Explodes/Implodes' form. (Look at screenshot to see what i mean) Looking for a nice touch when closing you'r forms? Then this might be something for you. Creates a nice effect, and can easily be modified to suit special needs. It also shows how to stop user from closing form with 'X' in one small line.
Use a standard picturebox as progress bar. This progressbar : 1. Don't use much code. 2. Change every aspect of appeareance in a simple way. 3. Fast. 4. Easy to use, create a picbox and place the call for the single sub in a loop. 5. Don't Flicker... New in this version is : Select % display alignment, optional CustomString to add before % display (looks better when doing multi tasks).. 100% Compatible with previous versions. - Now.. go vote! .. (Screenshot comming soon)
Style Sheet your apps OK, OK it's not exactly CSS. However, if you want to have orange frames and purple buttons at design time so you can see where those anoying borderless frames or flat picture boxes are, and then set it all to look pretty again at run time, without spending your life setting "back color" values and "font size" properties then this is a simple piece of code that might help.
This simple program shows how you can prevent anyone from using an illegal registration code that was generated AFTER your shareware program has been released. The user must have an active Internet connection when he starts your program. However, you can put checks in other parts of your program also. You must have web space to place a text file of the illegal names/codes. Sample program is included.
This is a standard system tray icon control with a "rare" feature in that it can detect when it should reload itself when explorer restarts. Have you ever noticed that when explorer.exe crashes and reloads, that most of the system tray icons don't reload? Well, now you can reload your icon automatically. Usefull, but I can't take full credit for the code. I got some of the code from a web site (the address is in the module header in the code). Any votes/suggestions welcome of course :-)
This is basically a smooth-scrolling progress bar that is able to take a caption. I know there are loads of these already on the site, but the code is well commented, and wth anyway :)
A way to EASILY Distribute you App over the internet in a single EXE. This program makes it easy to create BAS modules with embedded files such as: COMDLG32.OCX, TABCTL32.OCX, MSCOMCTL.OCX This means that your SPLASH SCREEN can automatically install components that are used by your other forms if DIR(Whatever)="". In a nutshell, this means that you can distribute your entire application as an EXE and if executed from a ZIP file over the Internet, you do not need a separate SETUP program at all! There is already code on PSC to handle the REGISTRATION of OCX files... so, this means that nobody needs to explain how to install an application to a user. Just Zip the final EXE and upload to your favourite download URL. The user just downloads the ZIP, runs it and executes your program on-the-fly with self-installing components. BTW, I have tested it with the above OCX's and it works GREAT!
Need a good (Image)Combo, then download this IScombo. Why did I make this. I was working on a projekt an needed the imagecombo. But I found out that with some characters it worked strange, so I started looking for a better one. I found the IScombo from Alfredo Córdova Pérez ( fred_cpp ). I thought the beginning was good so I started to enhance. Now I think I have done my job well. Just Check it out and vote for me. You may use it freely and adjust, but just give Alfredo Córdova Pérez and me credit, cause we worked hard for it. Just check it out and have fun with it. I never gonna use another one anymore !! If you don't think it's good just tell me why. (It might have some little bugs (It isn't completly tested) but if you find one just let me know so I can fix it. But I don't think there are many. Suggestion, errors etc are welcome at : [email protected]) I haven't put all option in the test form, but I think you guys can figure the rest out, it's very easy.
Replicates MS Works 2000 horizontal and vertical menus. Displaying Disabled Items, Hover Items (Hot Tracking - v1.01), ToolTips (v1.02), Graduated Selection/HiLite (v1.03), Seperator Lines, etc all configurable. Demonstration application included to demonstrate all the features of the controls. Please vote for this project & happy coding!
Replicates MS Works 2000 horizontal and vertical menus. Displaying Disabled Items, Hover Items (Hot Tracking - v1.01), ToolTips (v1.02), Seperator Lines, etc all configurable. Demonstration application included to demonstrate all the features of the controls.
This control was used in several commercial applications that I've written as an on-screen Help system. I've included the prototyping code (non-api) and the flicker free API version. I hope this helps someone ..... Happy Coding!
Have you ever wanted to add Multi-Node Selection to your application? Many people here and in the newsgroups have wanted this feature. Here is a working prototype! Enjoy...
This project was put together as a learning tool to better understand how to capture Windows Messages using subclassing within a OCX. Capuring Windows Messages in a executable is very straight forward - however within an OCX, it's a whole new dimension. This project demonstrates how to overcome the difficulties without using thrid-party products or external DLLs. Keep your eye on both the Immediate Window and the UserControl's ListBox in both Design-time and run-time whilst resizing, minimising, maximising, moving, clicking, etc to better understand how the UserControl and Windows Messages Work. I hope that you get the same benefit from using this code as I did coding it!
** Release 6 ** Added BackMode, BackColor, BackPicture, BackFileName, DisableMultiSelect, New Tutorial (Disable Multi-Node Select), updated Tutorial 1 (demonstrate new Back features) and added Animated TreeView Image Background (YES - A first! Pretty unique huh!). BackColor & BackPicture work independantly of the Nodes therefore Nodes maintain their original colors! No other VB code does this - enjoy! ** Release 5 - 26 New Features, 2 new Tutorials ** Now boasts 75 Properties & Methods (features), 7 tutorial/example applications and detailed Html help files and still growing! New features include:- **Disabled Nodes Interface** with full keyboard and mouse support (Unique!), HitTestEx (with comprehensive feedback), IsNodeTextUnique, IsPathExpanded, NodeAbsolutePosition, NodeAbsoluteIndex, NodeCoord, NodeCountChildren (recursively for all sub-branches), NodeFindEx1 (containing), NodeFindEx2 (advanced pattern-matching), NodeFindObjectInTag (advanced pattern-matching), NodePosition, NodeUniqueText, SubNodesSorted, and EditLabelMaxLength. The Disabled Nodes Interface allows individual nodes to be enabled/disabled (not selectable) and toggled with the ability to affect child nodes with a single command; disabled Fore/Back colours and Bold state are programmable (preserves the original Forecolor, Backcolor and bold status of each individual node) and fires a StateChange event when a node or a range of nodes are disabled/enabled. The treeview control by itself is a powerful control when used properly. This wrapper is designed to deliver the most common and also complicated features that's expected from the control but are not included or are very difficult to implement. [See the animated ScreenShots for examples of the new features] The included tutorials also demonstrate how to tie multiple ADO recordsets to a Treeview control with drag'n'drop automatic updates(move & copy nodes and branches), load-on-demand for instataneous display of large amounts of data; benchmarking; cursor management; TabStrip management; working with common dialogs through APIs; and much, much more...
This is a bug-fix update for the cTreeView DLL/Class Wrapper. Fixes disappearing disabled nodes, error cause if resetting Disabled Nodes when there are no Disabled Nodes, and NodeMove not honoring individual Node expand states. Thanks to Zhu JinYong and Denis Chollet for finding these bugs. *** NOTE: This is an update ONLY - not all files are included. Please ensure that you have downloaded v02.03.00 [http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=37553] before downloading the update. ***
Added BackMode, BackColor, BackPicture, BackFileName, DisableMultiSelect, New Tutorial (Disable Multi-Node Select), updated Tutorial 1 (demonstrate new Back features) and added Animated TreeView Image Background (YES - A first! Pretty unique huh!). BackColor & BackPicture work independantly of the Nodes therefore Nodes maintain their original colors! No other VB code does this - enjoy! Now 80+ Features!
This light-weight OCX not only remembers when a form is resized, but also when it is moved; handles MDI Parent/Child forms and SDI forms; a CenterForm function that works in both MDI & SDI forms plus if the TaskBar is visible! Drop the control on a form, add one line of code (see screenshot) and the OCX does the rest! Two example apps are included to demonstrate MDI & SDI usage. Enjoy!
The award-winning TreeView Class wrapper has been optimised using APIs plus many new features added like simple Drag'n'Drop with auto-expand & auto-scroll, Multi-Node selection, Overlay Icons, load/save to binary/Xml file, and many more... 6 Tutorial applications are included to demonstrate sets of features to help make it easier to understand and implement into your own applications. The Wrapper contains several files that can either be embedded directly in an appplication or compiled into an in-process DLL (by Default). If you're considering working with the TreeView control, then this will be an invaluable tool for you! *** Latest version can be found here:- http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=37553&lngWId=1 ***
this code extends new styles for command buttons: Modal frame,Client Edge and Static Edge just like in vc++. You can use it to extend other controls styles.
With this code you will able to move your text from bottom to top in form.Great for Splash Screens. NO OCX needen