How to Use ShellAbout() to Display Standard Windows About BoxLast reviewed: June 21, 1995Article ID: Q122893 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, versions 2.0 and 3.0
SUMMARYThis article shows you how to implement the Windows API ShellAbout() function to display the standard Windows About box that you see in the Program Manager, NotePad, and the other Microsoft Windows accessories.
MORE INFORMATIONShellAbout() resides in SHELL.DLL. Use the following Declare statement in Visual Basic to declare it; enter the entire Declare statement as one, single line:
Declare Sub ShellAbout Lib "shell.dll" (ByVal hWndOwner As Integer, ByVal lpszAppName As String, By lpszMoreInfo As String, ByVal hIcon As Integer)where:
hWndOwner - the Window handle of the parent form. lpszAppName - the information you want to appear in the caption of the About box, usually the application's title. lpszMoreInfo - any additional message you want to display. hIcon - the handle to the icon you want displayed in the upper left corner. Step-by-Step ExampleThe following steps show you how to call the ShellAbout() API.
|
Additional reference words: 2.00 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |