Results for "Category: Custom Controls/ Forms/ Menus"
This demo code shows how you can put progressbars into a listview control. Same principle works with other controls,too. For example commandbutton, picturebox or combobox. Works with horizontal, vertical and keyboard scrolling. Changing the column size is also no problem. This demo uses subclassing. I used the subclassing control by SoftCircuits. You can get it for free at http://www.softcircuits.com. Or use your own subclassing code. It should be no problem modifying the program to get it to work.
Update of the Usercontrol that emulates the menubar on the side of dialogs on system using the newest version of comctl32.ocx (I think). vbaccelerator image list is now built right in through a class, so there is no need to distribute his ocx (Steve mcMahon). Header and scrolling have been added to allow for a light emulation of an outlook menubar (only one bar though). Allows changing of backcolor, forecolor(text), Header Forecolor, Header Caption, and toggling of Scrollbar and Header Visibility. Also allows for images to be loaded from file and from a STDPicture object. If you are wondering why I went to such lengths to include the vbaccelerator image list in a class wrapper?? it supports color depths up to 32 bit, try that with the normal MS image list!!. All in all a nice control with a pretty small footprint.
lightweight compile in display bar... give users something to look at while they are waiting...4 animations to choose from..adds about 16k to your exe. Dont forget to check my sight for more stuff: http://geocities.com/dzzie
Draws a B-Spline over a PictureBox while the user inputs a series of points with the mouse. It also allows to drag the Control Points of the B-Spline to modify it
How to prevent a form/app from unloading , even if you use the taskmanager? Then try this code... (It works for me ;)
This function create a transparent area of dirrent shape (such as rectangle, Circle) in your form, you specify where and how big the hole is. Unlike most other trnsparant routine, this one not only let you see trough it, but also allow you total access access the things in the hole!!! Of course, You can make the entire form transparent or make you form C - shaped! Fully tested in VB5 and VB6.
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.
This code animates a glass cube moving on a picture in real-time. Almost the same as that Windows 95 screen saver (the moving glass boll). I though this code can help make a screen-saver like that. (You have to e-mail me a copy of that screen-saver please)
This code lets you to Print, Save to file, Load data from file to/from ListBox or ListView object.
This code allows a ListView control to be sorted by Number or Date without having to use APIs (except to lock the screen)
A simple Bezier spline implementation. Allows the user to select control 'points on a picture box and then draw a Bezier curve between them. NEW!! - User can now move control points!!
With this code you can place any Icon in the title bar of any Window, just by reffering to a .ico file or to the position of the Icon in a DLL.
Add knobs to your audio/other app. Choose from 0-10, 0-100, and 0-1000. No *.bmps, simple circle and line. 5 sizes... MUST SEE... ;)
Cool Progress Bar is a regular progress bar, but with some cool effects (ok, maybe I'm exaggerating a bit, but this was the first name that I came up with!). It was specially made for games (where a nice progress bar when loading the game always looks good, impresses the users and distracts them), but you can use it anywhere else. For now, all it supports is a gradation effect between two colors you choose (you can also choose the background color). But I plan to add a lot more effects, from custom graphics to transition effects and masks. If the progress bar looks awful in the screenshot, you probably have a color depth of 256 or 16 colors. 16 bits is the minimum for a cool effect. It's not my fault (you can always mess with the system's palette to make it use the progress bar's in 256 colors), sorry. Feel free to give me your own suggestions, and please vote, I worked very hard on this!
This program will retrieve the full menu structure of a Form, up to three levels, and allows the user to modify it. A smooth interface provided with sound and some 3d effects enriches the usefullness of this code. You can easily bundle this project into an OCX. Heavily commented.
Here is my first submission since a "hacker" erased all the things of my repertoire. Il s'agit d'un contrôle.It is a gauge showing pressure in psi having as value source in kPa. (Because we use metric values at my work and because i still love imperial system) i made that Old Style Gauge.I tempted several manners to arrive at my purposes (almost the end), in the first place, a simple line for the needle, it did not seem real, then I had to draw a needle in three fragments to make her the smallest as possible and by using the method of SetPixel and GetPixel. The only problem is that there is a refreshment in every consequentive change...Test it and why not try to improve it... All the constructive messages are welcome.
Includes demonstration of how to make labels appear as hyperlinks, open the users default web browser, and uses a hand cursor when hovering over the icon. The hand.cur file is loaded seperately so that you may incorporate it into your other applications.
LED and SWITCH user control for technical applications. Just add led.ctl to your project as user control. Read readme.txt for properties.
Hey, you always have seen some people adding some cool addin to VB which esase their programming right? now you can do it too...You can add commands, command buttons, to menus with any command you like...
Have a Tab control in your application with out having to have the huge OCX that microsoft provide. It's in the early stages yet but seems to work okay at the moment.