Results for "Category: Custom Controls/ Forms/ Menus"
The purpose of this code is to allow you to provide help for your menus. When someone moves their mouse over a menu it will raise an event telling you the caption of the menu the mouse is over. This will allow you to have a status bar that will help them understand what each menu item will do.
This will allow you to stop the form from being resized below or above a user-defined amount. Because it uses subclassing, it is totally flicker-free.
There have been many XP Side Menu uploads recently, so I thought I would add my own. I believe it is the best yet. Nearly identical to the real Win XP Side Menus. Please let me know if you agree. I have to give credit to Marcel Jules. I started with his control and improved on it. I Apologize for not commenting my code.
Multi-Column Combo using Listview
This code flips menue items horizontal! Just take a look at the screenshot.
The StatusBar, a boring control? This code shows you how to get effects like in Internet Explorer! Included features: -Animated icons in the StatusBar -ProgressBar in the StatusBar -Ready/Working display exactly like in WinZip Have fun and vote for me!
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!
Shows you how to put a ProgressBar into the Titlebar of your program. Great for loading a form. Enjoy! AND VOTE FOR ME!
This is used to get the MX records of a host. This is a usercontrol, with a demo project. It has a ton of good code. Including how to get the DNS of your local machine in code in every possible way (there are many). So the control can find the dns itself. This code has code from Jason Martin (http://www.planetsourcecode.com/xq/ASP/txtCodeId.11006/lngWId.1/qx/vb/scripts/ShowCode.htm)
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 is an example of how to use treeview control and nodes. If you have never used treeview before this is perfect for you. The treeview control is very powerful control if you know how to use it right. This code shows how to do some of the basic things with it as well as how to call popupmenues and few programming techniques. The code is well commented so it will be easy to understand.
A reporting control to ease printing of reports. The control will also enabled preview of reports, save to file and printing to the printer. With this control, user have control on the printing format (code level) as to using the a third party ReportWriter
Ever tried puting a menu on a form with a skin? It puts a title bar at the top. With my code you can put menus on forms that you don't want to have the regular title bars on. I used some code from PSC on my skins. This is really good code. Please give it a good rating and leave feedback.
Simple timer class using GetTickCount API function, similar to standard timer control. Accepts long interval. Perfect for forms and/or user controls. Generates ONTIMER() event. Credits to code published by Riaan Aspeling in PSC, thanks Riaan.
I made this code because i wanted two controls to be in sync. So instead of making a new control i just moved it around the forms. This way i didnt need to update another control. I hope somebody will find it helpfull.
A popup color selector active-x control, similar to a combobox, featuring 12 different palettes, and 2 color selection events: Click() and Change(). The popup window can be disabled, in which case the popup()event may be used to substitute your own color selection code, or access to the common windows dialog. Hue selection is done through mouse hovering using custom timer class. Credits to various PSC contributors as listed in the text file. Uses 12 API functions. Full source included - well commented. V1.1 now includes hWnd property. (Thanks Ross McCawley!)
My first submission, this code is a multi-purpose skinned graphical form. Sounds pretty standard, but this one is RESIZABLE TO ANY SIZE. It teaches you how to use Regions (for shaping forms) and also how you can keep the size down of your program by using "Image Blocks" to make up skinned dialogs (positioning and streching images to make a dialog). Take a look - it's well worth it. And I know people always put this on their submissions, but PLEASE vote and leave comments and/or suggestions. If you're a contributer to Planet Source Code, you know how much you value feedback. If you're not a contributer, I can assure you that if you were, you too would want people to give suggestions. Enjoy!
***********Default button bug fixed*********** This is a custom message box generator.It provides the following functionalities that are not provided by the MsgBox function in VB. 1.Allows you to change the font of the message. 2.Allows you to change the font color of the message. 3.Allows you to set italic font for the message. 4.Allows you to set bold font for the message. 5.Allows you to change the caption of the buttons. 6.You can have as many buttons as you want on the message box. 7.The Message box has a totally new border style. 8.You can also set the AutoUnloadTime so that the MessageBox will automatically terminate when the specified time had elapsed returning the first button value. 9.The MessageBoxEx function used to create the messagebox returns the number of button pressed starting from zero. 10.Use the AddButton method to add as many buttons as you like. (Max 255 i think this is more than enough.)
this code is a slight modification of the menu ocx. created by vbaccelerater. it give menus a windows xp appearance. it does this by placing a background image, chnaging the starting position of the menu separator line and changing the color of the highlight. you will need the subtimer dll, i have included it in the zip file along with the original vbacceletor code. please do not vote for me since this is really not my code. enjoy.