Interface

This category includes VB code to improve the interface of your program.

Animation control with API

R. Guerrero

13/07/1998
This project replaces the standard Animation control in VB5. This control is used to display Windows animations such as file copying or file moving AVIs.
Download code now!
Center a form on the screen

G. MacLeod

01/11/1997
Sub to center a form on the screen.
Download code now!
Center a form within another form

J. Markowsky

24/02/1998
This sub will center any form within another form.
Download code now!
Center an MDI child form within the parent

C. Gibbs

13/07/1998
This is a code example useful when you need to center an MDI child form within the parent window.
Download code now!
Combo box with icons R. Guerrero 13/07/1998
With this project you can create a combo list box with icons and items on hierarchical levels. It works totally with APIs, by using subclassing.
Download code now!
Create multi-colored forms without using the API - 14/09/1998
Although using the API is a nice way to create multi-colored forms, there might be a reason why you would wish to create one without using the API.
Download code now!
Dockable toolwindows with API R. Guerrero 13/07/1998
This project demostartes how to create dockable toolwindows (as the toolbars of Visual Basic 5.0) with the only use of API declarations and subclassing.
Download code now!
Drawing a blue gradient background L. Dalla Vecchia 07/06/1998
This sub is used to draw a blue gradient background as in Microsoft Setup programs.
Download code now!
Drawing a gradient background with custom colors L. Dalla Vecchia 07/06/1998
This sub is used to draw a gradient background as in Microsoft Setup programs, but with custom colors.
Download code now!
Flat toolbars (API created) R. Guerrero 04/07/1998
This project creates perfect flat-style toolbars as those in Microsoft Office 97 applications or in IE4.
Download code now!
Gradient title bars A. Burbea 12/12/1997
With this set of two VB modules you can create forms with a gradient toolbar, as in Windows 98.
Download code now!
Icon Menus (API created) K. Thielen 24/03/1997
With this set of two modules you will have the opportunity to create menus with icons as in new Office 97 applications.
Download code now!
Month Calendar R. Guerrero 14/07/1998
This will allow you to create a small month calendar as one included in professional applications.
Download code now!
Progress bars with API R. Guerrero 13/07/1998

This example allow you to create Windows 95/98 progress bars at will and totally through code.
Download code now!

Size forms to end user resolution L. Dalla Vecchia 13/03/2000
Automatically resize forms and controls to fit to end user resolution... with just a single line of code!
Download code now!
Sliders without OCX R. Guerrero 13/07/1998

With this project you will be able to create sliders without using OCX Common control and saving disk space.
Download code now!

Status bar without using OCX R. Guerrero 14/07/1998
This will allow you to create a status bar only through code, with multiple panels, different styles, icons, dynamic contents, and with optional progressbar in a panel.
Download code now!
TreeView and ListView with API R. Guerrero 16/09/1997
This is an example of how to create an interface with the same features of the Windows Explorer (a TreeView and a ListView in a splitted window). Totally made through subclassing (no OCXs).
Download code now!
Turning normal toolbars into flat toolbars R. Guerrero 13/07/1998
This project allows you to create flat toolbars by making thick ones flat: at design time you draw a normal toolbar, and at run time it is turned into a flat-style toolbar (as ones in Office 97 or IE4). You can also create toolbars with VB controls on them, as Combo list boxes.
Download code now!

Click Here!


Visual Basic Programming Zone is a website by Lorenzo Dalla Vecchia.
To contact the Webmaster, click here.
Hosted by InWind: www.inwind.it