Results for "Category: Custom Controls/ Forms/ Menus"
This is a complete TextBox in pure code without any RTF box or anything. It supports custom colour coding, and lots more - now even comment colouring. Also supports external draw events. The Demo is a Java IDE.
This is a label resembling LiteStep's labels. It stays on the desktop and shows system information such as memory usage, CPU usage, Time/Date/Uptime (with user-defined formatting), Active window and Active task, Multiline text, Computer name, Windows version, Processor type, etc. Full support for displaying as many images as you like within the label (e.g. icons). FULLY TRANSPARENT, if you like; or can be made to display a custom BackImage. Supports multiple profiles, so you can load more than one label with different info displayed on each. Shows CPU Usage as graphical progress bar as well. User-specified co-ordinates & size, image co-ordinates for each image, and co-ordinates for the CPU graph. (The included screenshot is within LiteStep, but SysLabel looks the same under a regular Windows shell as well).
Make cool custom buttons using only VB intrinsic controls. 13 types of buttons. Check out the screenshot.
Visual Basic will allow us to add control array to a Form at run time using the load statement. However with this code I will try to explain a way where you can dynamically add a control array to a Form at run time, and then catch the events generated by the added controls.
This project demonstrates you how to build an alert box like MSN Messenger has. It is displayed in the bottom-right corner of your screen. When an alert is shown while another one is still visible, it is placed on top of the existing box. By moving the mousecursor over the text it appears as a hyperlink. And to get a little bit of the Microsoft feeling I've added a simple gradient found elsewhere on PSC.
'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)
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 control, when dropped on a borderless form will size itself to that of the form, and wala you have a new window. The window has all the abilities of the normal windows, it can be maximized, minimized, and can be manually resized. Also has a nifty lost and got focus effect, like that seen in Visio 2000 Professional. If you like this please drop me a line and tell me, or if you want to see something in it that isn't and don't know how to do it then let me know and I'll try. Once you load the control, click on the (Custom) property to see how to set up the form focus effect (only 2 lines) ***Update 1 11/21/01*** I found a temporary solution to the Focus effects problem but I'm still looking for a better method, check the control out and let me know if you know of a way to solve this is like api or something. ***Update 2 11/21/01*** FORM FOCUS EVENT PROBLEM FIXED, COMPLETELY FUCTIONAL NOW.... This control now uses SmartSubClass from www.vbsmart.com, you must have it in order to use this control, but its worth it, they also have some other sweet free controls..
This is the alpha version of my XP Menu system. Menu is flat with shadow as Office XP menu. Great and simple code that using subclassing. Working only in popup menu, to test, please, right click on form ...
This is a fully customizable message box that is backwards compatible with the standard microsoft message box. It has 3 additional parameters that tell it whether to autosize and what size to be. Using my FormatRTF function..which is also posted seperately on PSCODE, you can include tags to format the text any way you would like (see screen shots). There are no limits to the uses of this box. It can be used as both a Regular or Bottomless Message Box and Includes the ability to set Default Button and the Help Button. It is a function and will return integer values that can be compared to vb constants (ie: vbok, vbretry) so you can determine what the user clicked. It is vaguely commented (if that) because I just decided to throw it up here. If you don't understand it, Now is a good time to Learn!! Hope someone finds this as usefull as I have...(Comments and Enhancement Requests Welcome) - ENJOY!!
Lots of Features. Includes Currency Formatting, Numeric Validations. Functions as a text box or Number Box (Toggle a Switch). Forces All Upper Case, Auto Highlights, Follows Insert Mode, Tabs on Enter Key. Neatly Arranged Property pages (I suggest you strip them out to lighten the load if you dont want to lug them around). It works great for me..I hope someone out there finds this usefull (Comments, Enhancement Requests, and..unfortunately...bug reports, are all welcome) Enjoy!!
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 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 :)
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!
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 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!
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!