Results for "Category: Custom Controls/ Forms/ Menus"
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.
It always bothered me that Microsoft didn't make their boring Slider control with more options. This control allows you to customize the appearance of the gripper. It also, like the Winamp Slider control, allows the background to shift color intensities as you get closer to your miniumum or maximum values. Enjoy!
This code does every thing that the common dialog control can do. the module CDModule (CD = Common dialog) has function that replace the common dialog actions. You need to have the common dialog dll.
Class for adding tooltips for any control with hwnd property. You can chose back and fore color for tooltips, style (standard or ballon), center it. Allow to add tooltips to every item in controls with items (listbox, listview, treeview). You can set delay and visible time of tooltip and its maximum width.
Subclass Standard Common dialog(OCX) and get full control on it. You can change text in any buttons/labels/textboxes, make them invisible or disable. When user perform any action with common dialog, your app receive notyfication and you can proceed/cancel this action, prompt user with msgboxes etc, etc. Add following functionality: intercept Open/Save dialogs toolbar buttons events, intercept context menu in filebox, changing dialog size, move/size controls in dialog.
Class with various windows dialogs - including standar common dialogs (open/save, print, font, color and help) as well as other (select folder(with pre-selecting ability), select icon, shutdown/restart, run file, Object Properties (ie. System, Printer, Disk, File etc.) and AboutBox. Add this class to your app and forget about comdlg32.ocx.
This is new improved Scrolling Text Control. I added almost all proparties of standart TextBox and a new one: Scroll - that start/stop scrolling. It also allows you to choose three predefined size of text. Enjoy it.