Results for "Category: Custom Controls/ Forms/ Menus"
Keep a form always on top (topmost floating form) in windows 95. Albetski, Allan"
Short tutorial on how to use the toolbar in VB4/5 32 bit. http://137.56.41.168:2080/VisualBasicSource/vb4toolbar.txt
This function allows the application to enter and exit exclusive mode. In this mode any message boxes or prompts from Windows and other applications will not show up infront of the program. This is useful when you don't want anything to come up infront of your application window.
Can Change The Shape of any form
Makes a Form Trans Parent
This subroutine shows how to Really put a ComboBox (or any control with a hWnd) onto a ToolBar (or any other control/window with a hWnd).
This code, which was inspired by a similar snippet of code by Ian Ippolito, permits tiling an image onto a form's background. This variant, though, resides in a module and is called by a form instead of residing within the form's code itself. This permits using the feature project-wide without redundant code all over the place.
This code, which was inspired by a similar snippet of code by Ian Ippolito, permits tiling an image onto an MDI parent form's background. Getting an image onto an MDI parent is easy. Getting a tiled one is another story. We could try using a Clipboard operation, or build a big tiled background and save it and then laod it into the MDI parent's Picture property, but these are nasty, anal-retentive, and likely to simply not work. This code, however, works...
Resizes two text boxes AS a divider is dragged left or right. Maintains full bounds checking. The methods used can be applied to other controls as well. This is a form of splitter bar.
Draws a nice 3D-Starfield in a Form (uses X,Y,Z positions) width a very short code Shades each star depending on the distance.
This .bas module allows you to re-size your form and all the controls re-size with it. I kept looking for code out on the internet that would do this right but I was never successful. So, I wrote this to eliminate the need for any ocx's or dll's. It resizes the SStab control which I found was a problem with most resizing routines (check it out for yourself). It also handles lines. It's also alot quicker. All you have to remember is two things. First, add the resize module (rs_form.bas), Second, Add one line of code (ResizeForm Me) to each form you want to re-size.
Capture a screen in a window, this one actually works...
This code allows you to quickly center a form within the screen without eating up alot of cpu time.
The following code will add great text effect to your applications. It changes the spacing between the characters. By changing spaces, the characters move on the screen.
This class is used to EASILY add AutoCompletion such as in Internet Explorer or MS Access to VB Combo Boxes. It makes use of API calls which makes it EXTREMELY efficient. It also gives you the ability to control various properties: 1. The AutoDropdown property 2. Complete RowSource specification (new) 3. The ForceListUsage property (new) 4. The LimitToList property 5. The AutoUpdateList property ******************************************* **********PLEASE REMEMBER TO VOTE********** *******************************************
This is an enhancement of Dr. C's code submitted today. His code dealt with EASY TO IMPLETEMENT API Based AutoCompletion Class which features an auto-dropdown option for VB Combo Boxes. He should get full credit for the class developed. It is very good work. Further enhancements made to his fine work includes (1) a simple database which loads the combo box with values, (2) a primary module containing useful stuff, (3) Added a Gotfocus and LostFocus to Combo box to manipulate the displayed value, (4) added ENTER key acceptance capability. His original code can be found at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=34618&lngWId=1. Users can type in some existing value or create a new value "on-the-fly" into the Combobox. Try it and see. I felt many of you would like the changes so I am posting them. Let me know what you think.
If you have artistic talent, you can make buttons with this code in any format easily. All that you have to do is draw a image. I included some images like example.
This tutorial demonstrates multiselect property of listbox as well as how to add and remove items properly. Absolute beginners will surely grasp this concept easily.
This is a class to extend the functions of the standard ImageComboBox (MS Windows Common controls) Features include: autocomplete, allow only present items or not, auto-set dropdown width, and more. I need a feedback from you, so please leave comments and vote. Thanks ;-)
Also,MENU CREATOR/COMPILER {binary,text file} -------------Of .CCODYX---