Jump: Search:

Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access 2007/2010 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2010 (32 bit), 2007, 2003, 2002, 2000, and
Visual Basic 6.0!

Also available for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

 

 
Royalty free source code library modules for Microsoft Access, VB6, VBA, OfficeRoyalty free source code library modules for Microsoft Access, VB6, VBA, OfficeVBA and VB6 Source Code Library Download the free trial version of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA
Category: Microsoft Visual Basic 6 : Graphics
Description: Creating graphics using the Windows API and native VB6 commands

Module: modSimulatedControls

Routines to draw simulated controls.

Windows contains a function "DrawFrameControl" to create an image of several standard Windows "widgets" -- check boxes, menu items, scroll bar controls and so forth. The functions in this module expose this function to your application. You might want to use these simulated controls for several reasons. Perhaps you are creating documentation of the appearance of a form, and you wish to create a graphic you can display or print. You might be creating lightweight "graphical" user controls and wanting to draw the appearance of the controls on your user control rather than using an actual control. Because the controls are drawn by Windows, their appearance depends on the users' Windows color and font preferences.

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the modSimulatedControls module
DrawCaptionClose Procedure Draw the image of the titlebar "close" button on a form or picture box
DrawCaptionHelp Procedure Draw the image of the titlebar "help" button on a form or picture box
DrawCaptionMax Procedure Draw the image of the titlebar "maximize" button on a form or picture box
DrawCaptionMin Procedure Draw the image of the titlebar "minimize" button on a form or picture box
DrawCaptionRestore Procedure Draw the image of the titlebar "restore" button on a form or picture box
DrawCheckBox Procedure Draw the image of a check box on a form or picture box
DrawMenuArrow Procedure Draw the image of a menu arrow on a form or picture box
DrawMenuArrowRight Procedure Draw the image of a menu arrow on a form or picture box (used for right-to-left language versions of Windows)
DrawMenuBullet Procedure Draw the image of a menu bullet on a form or picture box
DrawMenuCheck Procedure Draw the image of a menu check mark on a form or picture box
DrawOptionButton Procedure Draw the image of an option button on a form or picture box
DrawPushButton Procedure Draw the image of a push botton on a form or picture box
DrawScrollComboBox Procedure Draw the image of a combo box down-arrow on a form or picture box
DrawScrollDown Procedure Draw the image of a scroll bar down-arrow on a form or picture box
DrawScrollLeft Procedure Draw the image of a scrollbar left arrow on a form or picture box
DrawScrollRight Procedure Draw the image of a scrollbar right arrow on a form or picture box
DrawScrollSizeGrip Procedure Draw the image of a form's sizing grip on a form or picture box
DrawScrollSizeGripRight Procedure Draw the image of a form's sizing grip on a form or picture box (used for right-to-left language versions of Windows)
DrawScrollUp Procedure Draw the image of a scrollbar up arrow on a form or picture box
DrawTriStateCheckBox Procedure Draw the image of a three-state check box on a form or picture box

Overview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources

Feedback

Contact Us  l   Web questions: Webmaster   l   Copyright © FMS, Inc., Vienna, Virginia
Celebrating our 26th Year of Software Excellence