Results for "Category: Custom Controls/ Forms/ Menus"
menu system
Creates a system tray icon for your application with a popup menu and other functionality.
The simplest (as few as three lines of code needed!) and best code to implement explorer-style splitter bars
Put anything you wanna melt inside my picture box and watch the effect.. With this code you can easyly create a melting-screen-save! So: Try it out!
Allows you to easily create a hyperlink in your program. This control is easy to use and feature-rich! Features: jump to url, mouse-over color change, mouse-over underline, mouse-over browser-style hand pointer, click event sound, tooltip, auto-sizes to fit text, mouseOver and mouseOut Events. Code update for HyperlinkAX. Complete source and example, compiled OCX.
This is the new MessageBox 2.0 !!! Fully customable !!! Easy to implemented !!! Use instead of MsgBox : MessageBox . Same Paramteres!!! and don't forget to vote !!! Now you can make your own MessageBox: Change the Icon and the buttons and you see you have your own MessageBox.
Learn how to make ur own screen saver lookalike with this simple code!!!! please comment and vote!!!
When making menus with Win32 API functions, have you ever wondered how to call functions when the user clicks on a menu entry? This code shows you how to solve that problem using subclassing, in very few lines of code :) Please rate this.
An example for beginners, showing how to use the MoveToEx and LineTo API calls. Gets the current time, converts it into (x,y) coordinates and draw the "clock"...DON'T FORGET: DON'T EVEN THINK ABOUT VOTING FOR ME!!!
Make a standard, ugly, Mscomctl toolbar control look flat, without extra OCX, and just one function call!
Complete ListBox tutorial all on one form! I included the following features of the ListBox control: Loading from file/Saving to file Delete Item Add Item Find Item Multi Selection Stuff: Remove selected items Copy selected items Select all items De-select all items Note: The file that is used for the file loading procedure is included in the .zip file. It is called Names.txt . Try adding lines to this file or even changing the code to open C:\WINDOWS\WIN.INI
This is a simple way to move the form, without the use of a staus bar! Just click and drag anywhere on the form. I also threw in an option to make a menu popup without the use of the menu editor! Shows how to view a menu, made by the menu editor, by clicking a command button! You can also apply this to almost any control.
This program draws a circle gradient wherever you click on the picture box. It uses the point that you clicked as the origin, and you choose your own colors and custom colors.
This combo box event handler will limit the text typed to only items available from the list. This essentially makes the control into a dropdown list but allows the items to be selected by typing as well as clicking.
On listview mouse down event, a textbox is moved to the selected listview item or subitem to be used as the edit box. The trick is to track the scroll bars to deduce which item of the listview is being clicked on. This is done by subclassing listview scroll events and retrieving the scroll bars info with API.
This is the coolest Progress Bar control you have seen out there. Includes many nice features. Can do colorfading, text scrolling, borderstyles, can be set vertical...anything you can think of. Besides that, the code is very efficient and fast. A good example on how an ActiveX / OCX is made and what it needs.
CooL Skinable Button (iButton) for any app. Just one UserControl in Exe Project and ready for use. (very, very good button , you MUST HAVE THIS - DON'T MISS). Enjoy!!!
Ver 4 Update on ClsPictureLoader. NEW Crop images before pasteing to RichTExtBox. OLD (But improved)Load picture to RichTextBox with resizing (width, height or proportional). Flip image Left-Right and Top-Bottom. Re-size inserted pictures proportionally with the class (better than doing it by the built-in RichTextBox behaviour). Export RTF document images to BMP. Improved interface with toolbars. Apologies to VER3 downloaders, I forgot that SavePicture is only BMP.
WindowsXP-like CommandButton, Or OfficeXP-like MenuButton, Or IE6 ToolBarButton, 6 Caption Area positions relate to Picture Area, 9 Caption positions in Caption Area, plus 9 Picture positions in Picture Area, add one picture in AddIn-Area, powerful control of Colors and image effects. NO Timer , NO ImageBox, NO Label, that is HzxY Button. This is a English version. If you don't understand Chinese, you can try this version I've Uploaded. BTW, I've uploaded my article to introduce my control. If you have puzzles in using HzxYButton, you can refer to my introduction.
Customize your menu with images. Just create a menu with the VB Menu editor. Add some PictureBoxes to your form and assign to the CMenu class. This class uses the whole region of the main-menu not only the regions of the items. So, if the window width changes, the background image of the main-menu also does. The screenshot shows where PictureBoxes are applied. UPDATE: Now using a better method for subclassing. A MsgBox blocked the WM_DRAWITEM message when running in the IDE and as long as the msgbox was on top, the menubar was grey. This doesn't happen in the new version.