Prev Next

CPL_DBLCLK

The CPL_DBLCLK message is sent to the CPlApplet function of a Control Panel application when the user double-clicks the icon of a dialog box supported by the application.

CPL_DBLCLK 

uAppNum = (UINT) lParam1;   // application number 

lData = (LONG) lParam2;     // application-defined value 

 

Parameters

uAppNum
Value of lParam1. Specifies the dialog box number. This number must be in the range zero through one less than the value returned in response to the CPL_GETCOUNT message (CPL_GETCOUNT - 1).
lData
Value of lParam2. Specifies the value that the Control Panel application loaded into the lData member of the CPLINFO or NEWCPLINFO structure for the dialog box. The application loads lData member in response to the CPL_INQUIRE or CPL_NEWINQUIRE message.

Return Values

If the CPlApplet function processes this message successfully, the return value is zero; otherwise, it is nonzero.

Remarks

In response to this message, a Control Panel application must display the corresponding dialog box.

See Also

CPL_GETCOUNT, CPL_INQUIRE, CPL_NEWINQUIRE, CPL_SELECT, CPlApplet, CPLINFO, NEWCPLINFO