ShellAbout  F_NBH5 

The ShellAbout function displays a Shell About dialog box.

int ShellAbout (

    HWND hWnd,

// handle of parent window

    LPCTSTR szApp,

// title bar and first line text

    LPCTSTR szOtherStuff,

// other dialog text

    HICON hIcon

// icon to display

   );

 

 

Parameters

hWnd

Identifies a parent window. This parameter can be NULL.

szApp

Points to text that the function displays in the title bar of the Shell About dialog box and on the first line of the dialog box after the text  Microsoft Windows  or  Microsoft Windows NT.  If the text contains a  #  separator, dividing it into two parts, the function displays the first part in the title bar, and the second part on the first line after the text  Microsoft Windows  or  Microsoft Windows NT. 

szOtherStuff

Points to text that the function displays in the dialog box after the version and copyright information.

hIcon

Identifies an icon that the function displays in the dialog box. If this parameter is NULL, the function displays the Microsoft Windows or Microsoft Windows NT icon.

 

Return Values

If the function succeeds in displaying the dialog box, the return value is TRUE; otherwise the return value is FALSE.

Remarks

Please note that the ShellAbout function dialog box uses text and a default icon that are specific to either Microsoft Windows or Microsoft Windows NT.

An example of a Shell About dialog box can be seen by selecting the About Program Manager command in Program Manager.