NEWCPLINFONEWCPLINFO*
*Contents  *Index  *Topic Contents
*Previous Topic: MULTIKEYHELP
*Next Topic: NOTIFYICONDATA

NEWCPLINFO

Contains resource information and an application-defined value for a dialog box supported by a Control Panel application.

Syntax

typedef struct tagNEWCPLINFO { 
    DWORD dwSize; 
    DWORD dwFlags; 
    DWORD dwHelpContext; 
    LONG  lData; 
    HICON hIcon; 
    TCHAR  szName[32]; 
    TCHAR  szInfo[64]; 
    TCHAR  szHelpFile[128]; 
} NEWCPLINFO; 

Members

dwSize
Length of the structure, in bytes.
dwFlags
This member is ignored.
dwHelpContext
This member is ignored.
lData
Data defined by the application. When the Control Panel sends the CPL_DBLCLK and CPL_STOP messages, it passes this value back to your application.
hIcon
Identifier of the icon that represents the dialog box. This icon is intended to be displayed by the application that controls the Control Panel application.
szName
Null-terminated string that contains the dialog box name. The name is intended to be displayed below the icon.
szInfo
Null-terminated string containing the dialog box description. The description is intended to be displayed when the icon for the dialog box is selected.
szHelpFile
This member is ignored.

Remarks

The CPlApplet function of the Control Panel application returns this information to the Control Panel in response to a CPL_NEWINQUIRE message.

See Also

CPLINFO


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.