Results for "Category: Custom Controls/ Forms/ Menus"
Tells whether a form is loaded or not
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...
This program creates awesome random shapes with your given specifications. With this, you may never see the same shape twice, and every one looks great! This I could proudfully say is an awesome program -- IMPRESSION IS GUARANTEED!!! Please let me know how you like it.
Ever wounder how to make those neat pop-up menus like you see when you right click on something? well, here is an easy to follow example!
A while ago I was developing a dart statistics program, unfortunualy sometime later I stopped developing. But I already made an control to handle the dartboard. It's not completly finished, I still have to add a dart throw animation in it. But still I think it's ready for use. Some features: - Board is resizable - all colors are adjustable - all ring sizes are adjustable. Throw dart: - by mouse clicking on the board - by entering the darts x,y location - by entering the darts value. I found it a waste of good programming to leave it on my computer without any use. I hope some of you can use it in your own applications. If someone can send me a good animation of a dart in flight, I would appreciate it and I would put it in the control as well.
It's a coolbutton. :) Those flat things that MS uses now. This one supports setting images for mouse over, mouse down, mouse up, drawing bevels for those 3 states, setting the colours of the bevel, automatically generating the mousedown and mouseup images by varying the brightness of the original, setting text positioning... lots of stuff.
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.
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 code allows users to edit in a MSFlexGrid
Class module for resizing/repositioning controls on a form. See source code for details.
Stretch an image to another size. Truly fail Safe code works even with invisible source image. You can save the newly resized image with additional VB coding.
Professional High Quality Code. Looks, works and behaves like the Windows Task/Icon bar on your screen (only better, with more properties). It actually forces the screen size to a slightly smaller size to fit the toolbar in place, thus the user still has full view of other software programs running at the same time. This is the genuine untouched code "...based on the J.Richter's CAppBar...", (FREEWARE)! Use it for many projects. No need to buy or use a TOOLBAR OCX. A few lines of code is all you need, when you add the prewritten BAS and CLS files. Creat your own BANNER style form, like the ones seen with FREE INTERNET servers. This code is genius!
This code will allow you to create a new instance of a control at runtime ! Imagine. When your app is RUNNING you can create a new command button or a textbox on the fly ! The code they didn't want you to know ;)
Automatically search through a combo-box's list as the user types into the text portion of the control. The code exists for allowing entry of text that does not already appear in the list, as well as handling the Backspace and Delete keys in a logical manner.