HOWTO: Use CTL3D.DLL in Your Visual Basic ProgramLast reviewed: February 13, 1997Article ID: Q113898 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, versions 2.0, 3.0
SUMMARYYou can use CTL3D.DLL to add three-dimensional (3-D) effects to the common dialog boxes and message boxes for a Visual Basic application. However, CTL3D.DLL does not work currently for the controls on a Visual Basic form or for the form itself. To get 3-D effects for the controls on a form, use the controls found in the THREED.VBX custom control.
MORE INFORMATIONTo use CTL3D.DLL to enhance the common dialog boxes and message boxes from Visual Basic, follow these steps:
Important NoteIf your program fails to unregister itself from CTL3D.DLL when your program ends, you may cause Windows to crash (stop operating). For example, if you place the Ctl3dUnregister() function in the Unload event and your program uses the End statement, Windows may crash because the End statement does not invoke the QueryUnload or Unload event.
REFERENCESThe information in this article is taken from the CTL3D.HLP help file.
You can find CTL3D.EXE (size: 402932 bytes) , a self-extracting file, on these services:The following file is available for download from the Microsoft Software Library:
~ Ctl3d.exe (size: 402932 bytes)For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119591 TITLE : How to Obtain Microsoft Support Files from Online Services REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q97361 TITLE : INF: Adding 3D Controls Using CTL3D.DLL |
KBCategory: kbprg kbcode kbfile
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |