Results for "Category: Custom Controls/ Forms/ Menus"
This basic procedure will handle all parent and child Checkboxes in a TreeView control. If you check a child node it will automatically check the parent(s) and vise versa.
Application that shows you how to dynamically select skins. Lots of API calls and user controls.
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).
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!!
Improvement of "A Menu" by Joel CinCity. I liked the idea, but not his implementation. I improved it by removing all references to the calling form in the menu form and using the menu form as an object created by the calling form, and implemented events to trigger the necessary code in the calling form.
That code was created by Brad Martinez from http://www.mvps.org (Copyright © 1997-1999) i just compiled it to VB6 Sp4 and made a little adjustment. This code use a listview to simulate a control with a treeview and listview like this one we see on Kazaa or Morpheus. Enjoy.
Capture Events from all your instances of Internet explorer. Modify Browser properties through the exposed collection, cancel annoying popup windows or simply spy on a users browsing habits.
I was impressed with the encarta UI, and i love the way they show the content in a frames that change the color when the mouse is over.....well tell me simple but i liked so i decided to make it, this is my second control and hope you like it, i wanna hear your comments ppl. The next version will include support for menus (soon), if you have encarta, you know what i mean, if not...wait a few until i finish it!!!!
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...
A simple and easy replication of the music match slider.
A tabbed dialog box.
This is an OCX which opens up a server on your chosen port and it can accept however many users you chose it to. The server is accessible through any telnet client and handles backspacing. Both OCX and example are fully commented. Please Vote. -Paul Blower
MDIForm with an outlook style shortcut bar. Very Simplified.
This is a screen that will allow you to do searches for anything. It uses control arrays, so you can keep adding search/sort criteria. Keep in mind that I was actually passing field objects to manage the various drop-downs, so you'll have to incorporate your own data access techniques. I had to strip out some things, because it dealt with my own Interface classes, but it should at least give you some ideas. If you use this, PLEASE VOTE. Email me @ [email protected] if you have questions/comments.
This all started when I noticed that I was constantly adding in code for when a textbox got focus, lost focus, etc. I decided that this would be a great chance to try my hand at making my own control. Fortunately, I spared PSC users the pain of some of the early versions of the control. I'm pretty happy with the latest version, so let me know what you think (and if you like it, vote for me! :-). Oh, I guess I should mention what it can do. It has several customized properties, such as "AutoSelect," which when True causes the text to be automatically selected when the box receives focus. Then there's "AutoUpperCase," which makes all entered text to be in upper case as it is typed. Then you've got "BackColor_Normal" and "BackColor_OnGotFocus." That's right, you can have it change to a different color when it receives focus (great for highlighting the current textbox when a user has a lot of fields to fill in). There's also "DefaultText" and "UseDefaultText." These are for having the text in the textbox revert to the default text after escape is pressed twice (the first esc is like an undo when you've started typing over something in the box). The latest feature is "TextType," which causes the textbox to only accept certain keystrokes, depending upon the property value. For example, there's AlphaNumeric, which allows everything, and then there's one for allowing only positive integers, and one for negative integers, pos/neg reals, alpha only, etc. This isn't like normal validation which checks the text after it's entered. This checks each keystroke and throws out the ones that aren't to be accepted. To run the tester .exe you'll need to register the cTextBox.ocx, or you can open the cTextbox.vbg file and run it from there. Let me know if you have any comments/suggestions/bug reports. Thanks! (and don't forget to vote :-) Oh! I just remembered, there's another property (two actually), "EntryTimerEnabled" and "MaxEntryTime." These are used to keep track of how much time it takes for a user to enter text in the textbox. If the maxentrytime is exceeded then the "EntryTimedOut" event is fired. This was added because my company often wants users to login to shop floor systems by scanning there badge ID and we needed to prevent the user from typing in an ID. Since barcode readers (or whatever type of scan device you use) are generally faster at generating characters than most typists, you can prevent typing in an ID by experimenting with the MaxEntryTime value.
If you didn't see my previous form manipulation example then you gotta see this. This is some pretty good stuff, great for newbies. New Subs added! Don't miss out on this, you'll be happy you looked at it. Code all done in a professional way. Extremely nice routines for simple manipulation of any form. Cuts down your own coding. Heavily commented subs so that you can understand what's happening. If you have any trouble with this example(which you shouldn't) then email me and I'll make even more comments on the routines as I add new ones. Comments definitely welcome. Please, Constructive critism and praises only. 2/10/00, new routines combined and added. All subs tested and compiled! And yes, I did add a sample of the CustomMsg becasue I got a few emails about it. I sure hope it helps you all out. Check out the "StreakExit" routine. If anyone knows how to make that routine smoother, please email me with a fix. If anyone has anything to add, email it to me and I'll add it in and give you credit. Please remember, this is beginner level. I really hope that you find this example useful. Thanks for your comments and enjoy the code! Here is a small list of the subs: 1. BooleanRollup 2. CenterSnglFrame 3. CustomAbout 4. CustomMsg 5. frmCenterMe 6. frmKillExit 7. frmOnTop 8. frmPosition 9. frmShrink 10. LoadNextToMain 11. LogMyErrors 12. NoOffScreen 13. ProgCaption 14. ProgCaptionV2 15. ReSnapFrm 16. RestoreFrmDiminsions 17. SaveFrmDiminsions 18. SaveFrmPos 19. StreakExit 20. vEmailMe 21. WriteSettings I really hope this helps the newbies out. This may be my last update to this project.
Puts Your form on top.
This is just a basic example of how you can add and manipulate data used with an MSChart. Easy to amend and change for your own use. Don't get carried away ;)
This function will select the value of a List Box or Combo Box based upon the Index ID. This is helpful when you are trying to edit a record and want to select a saved value in a combo box or list box.
Access-like AutoComplete of a dropdown combobox or a simple combo box based on what's already in the list. Simple code but can handle backspace and delete and will finish the 'complete' on Enter keystroke or lost focus. Could easily be converted to a user control.