Results for "Category: Custom Controls/ Forms/ Menus"
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...
Centers a form, relative to the available workspace. This means that if your users have high, or wide taskbars, or other apps which restrict the workspace, your forms will still center properly.
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.
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 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.
This project gives the user control to many mouse specific controls (including API) in an easy to use OCX. This can also be used as a sample active x control. This project gives access to things such as: Capturing Mouse Coordinate Tracking Cursor Changing Double Click speed information/ changing Input blocking Cursor Displaying/Hiding Mouse Button Swapping Mouse Button count Cursor position changing And other miscellaneous information
This is a decent example on how to skin a form. I made 10 skins and Commented every line in this project so you can see what's going on and how BitBlt works from top to bottom. If you don't know BitBlt that well or at all, this is a perfect example for you. Please RATE this and soon I'll make a v2.0 of this. And if you make a good skin for this, E-mail me it at: [email protected]! :)
This is an great example of how to use BitBlt to make a simple Animation either for a game or for a application. Every line commented in this and I tell you exactly what's going on. So check it out, the Screen Shot pretty much Explains it all...
This includes the source code Loading a picture, Rotating a Picture 45 Degrees, Flipping a Picture Horizontally, Flipping a Picture Vertically and Saving it After! Very usefull if your working on your own picture program. I made a nice layout for this and Commented everything. Please, I worked hard on this for yous So check it out then Rate it.... Questions/Comments: AIM: Mike3dd
The UltraTimer Control uses NO APIs. Just pre-set the total interval any where from 1 millisecond to about 24 days. Set the TimerMode to fire Periodic or One-Time timer events. Initial Interval is calculated in milliseconds and up to (59999ms), then combined with the Minute and Hour intervals for the total interval between calls to the control's timer event. Also fires MinuteAlarm and HourAlarm events. For more details on this and other controls created by Paczero, visit http://www.paczero.cjb.net