Results for "Category: Custom Controls/ Forms/ Menus"
This code shows you how to place an own CommandButton into the Titlebar of your program. Great for special commands in your app. Easy to implement and a cool thing that will impress your users. Enjoy! AND VOTE FOR ME! To users of WinNT4 or Win2k: I am sorry I have to tell you that this code won´t work on your system. That might be because NT Technology has got a higher security level and doesn´t allow this program to hook windows.
This code creates a column menue from a normal menue with a free selectable number of items in one column. This works also with bitmaps in the menue. Useful when you have menues that are too large for normal VisualBasic appearance. Enjoy! AND VOTE FOR ME!
This code flips menue items horizontal! Just take a look at the screenshot.
Shows you how to put a ProgressBar into the Titlebar of your program. Great for loading a form. Enjoy! AND VOTE FOR ME!
I'm finally updating this submission! I have completely redone all three controls. The command button is more richer, has more of the "feel" of the acutal Windows XP command button. I noticed previously it flickered, not anymore! I'm completely drawing these buttons to the user control, so there is no flicker. I was also using a timer to detect when a mouse entered and exited the control, which was a bad idea. I'm now using a different method. On these controls you can set the ForeColor, BackColor, and Font properties. Responds just like actual Windows XP buttons. This is a major improvement from my last submission. Well anyway, hope you enjoy these, now everybody can take advantage of the appealing Windows XP look. NOTE: In the screenshot, the controls on the left are the cloned ones :-) Can't really tell a difference, can ya?
AutoSave is a program that automatically saves the file you are working on in the program you specify as often as you want. It is a very useful program especially if you work in a program that has crashing tendecies, and you are worried that your work might be lost. AutoSave demonstrates use of Registry, Menu and Window API calls, and is commented pretty fully. ***Autosave v1.2 is now out!*** Bugs found in the first version have been fixed, so it now works well in both VB5 and VB6! Check it out at http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=12825 and be sure to vote!
This code provides an alternative Messagebox with just 3 additional files to your project. 1 form, 1 module and 1 user control (chameleonButton Button by Conchuki). A complete designer has been included in the demo project which allows GUI design of msgboxes. Different icons, scroll bar, XP/2000 style etc. This was submitted a while ago as a bog standard msgbox by someone but I cannot find out who. Ive included the original. Please vote if you like it, if you don't, tell me why you don't so I can improve it. Enjoy!
A cool interface done in visual bacis. If you see the screen shot. The whole program was done in a single form. And All the others are activex. The best thing about this is all are movable, dockable. etc etc. Have fun with the code it is opensource and if you like it please vote for me...
I think this is a great control to be used. It has many features. Please download and see for yourself. Please vote me.
Save the last screen position of your form.
Create a label, commandbutton, frame, textbox, hscrollbar, listbox, picturbox, shape, dirlistbox, filelistbox, drivelistbox, vscrollbar, optionbutton, line, checkbox, image or combobox randomly with random height, width, top & left properties
Dock the most right top menu to the right of a form. Check the screenshot.
This code demonstrates how to add new menu items to a form's existing menu at runtime. It can be easily modified to add new menu items to other programs' menus as well.
MacSHELL is a macintosh look alike shell for windows. My main idea was to emulate the macintosh system as accurately as possible. It still doesn't look completely like the mac but I hope to add more mac features soon! I got lots of feedback from my first two versions and now I have updated it as best as I can. There is lots of room for improvement so please leave your comments.
This ocx allow you to easily place, change or delete an icon in the system tray and set its tooltip. This ocx provides support for mouse events. To use it in you project just place this object in a form and call CreateIcon, ChangeIcon or DeleteIcon. A test project is included.
Modified from Benjamin Wilger's original source. Gives forms a Winamp-like docking behavior. I have added support to make the forms move together when docked, just as in Winamp. Previously, the windows would dock to each other, but not move together. This version adds the option of making one form the "master" of the other docked forms, so that when the master form is dragged, forms docked to it are dragged as well. Many, many thanks to Benjamin Wilger for his code, without which this version would not exist. (See http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=27489&lngWId=1 for the original code.) Please cast a positive vote if you enjoy this code. It only takes a few seconds, and I feel less like I'm operating in a vacuum here.
This is a list of some basic WebBrowser Commands and a few advanced ones.
Hey! This creates a type of progress bar like the one Microsoft uses when Windows is loading. This looks so much better than the standard windows progress bar for those times when you just want to show that the computer is working and you don't need to show a percentage of how much is done. I created a class to easily import it into a project. This example has enough comments to understand how it works and how to implement it in your project. I am personally using it in a Splash screen to show that work that must be completed before the user can continue.
It turns the Decimal format of a colour value (example: 16777215) into three seperate values containing the seperate Red, Green, and Blue values. (example: red = 255, green = 255, blue = 255).
This code mask symbol in TextBox. Nobody (unmask-programm) cant show you password. Four line of code protect you programm.