Results for "Category: Custom Controls/ Forms/ Menus"
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 : jacsoft@wishmail.net) 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
This is a multi-columns listbox with many feature like background picture, apparence, AddItem ,RemoveItem, ReplaceItem, IntegralHeight, Caption alignment, Column alignment and many more...
the issue on "drop-down list remains on screen even if i click somewhere else on form" is now fixed without adding any "setfocus" line on the form. an auto-complete as been added too (without textbox) when the control is drop-down just tap the font you want to find on the keyboard. It's usefull for a fast search! Now you can add multiples combos on same form,you can also apply XP look !!! This is a complete FontCombo control with manys features like: Preview with custom text,recent list with build-in load-save,currently used fonts and manys customizable features...
This is a multi-style command button to add to your applications. It can emulate seven different styles at a very accurate way!!! see the screenshot to belive... you will really be astonished. And the best of all: no external dll's or ocx's need to be used, an even the XP button is ownerdrawn!!! A must have for any coder. UPDATE!!! now it supports cool color changes!
Have you ever wanted to have your project set up to have people have to register with you to unlock certain parts of the project. Well, i have made a simple to use control just for this purpose. Just slap this control onto a form, set a few values, and you will be able to generate custom keys depending on the name of the users computer, or a serial number. You can also use a combonation of these to make a harder to crack key. What the code does is, if the setting is set to ComputerName, it finds out the name of the computer, goes through my alogorithim, and makes a key for that name. When the use puts that key into a text box or something, you can call my control to see if that key is correct. The control will respond with a boolean value, if the key is correct, it will be true, but if the control determines the key to not be right, it will reject the key with a false value. This code is heavily commented (prolly more comments then code), but the code is effectivly explained (well in my eyes it is), and will show you how to set this up. Also included in this visual basic group, is a sampel program giving the basics on how to use the control. This is only version 1.0, i plan on updateing it with more features in the future, maybe something along the lines of add a demo-time limit function to it, where it will only allow the user to use a program for a specified amount of time. Feel free to use this code in your own programs, but if you just copy/paste it from here, i would apprieciate some credit. :D. If you have any questions/comments/or anything else, post here, or email me at theendorbunker@home.com. Last, if you use this, and if you want, place a vote on this project. Thanks for reading, and i hope you enjoy this program.