The CPLINFO structure contains resource information and an application-defined value for a dialog box supported by a Control Panel application. The CPlApplet function of the Control Panel application returns this information to the Control Panel in response to a CPL_INQUIRE message.
typedef struct tagCPLINFO { // cpli int idIcon; int idName; int idInfo; LONG lData; } CPLINFO;
If the icon or display strings of the dialog box can change based on the state of the computer, you can specify the CPL_DYNAMIC_RES value for the idIcon, idName, or idInfo members rather than specifying a valid resource identifier. This causes the Control Panel to send the CPL_NEWINQUIRE message each time it needs the icon and display strings. By processing CPL_NEWINQUIRE, you can specify information based on the current state of the computer. Using this technique is significantly slower, however, because the Control Panel needs to load your application each time it sends the CPL_NEWINQUIRE message.
CPL_DBLCLK, CPL_INQUIRE, CPL_NEWINQUIRE, CPL_STOP, CPlApplet
file: /Techref/os/win/api/win32/struc/src/str02_20.htm, 2KB, , updated: 2000/4/7 11:14, local time: 2024/12/11 22:53,
18.97.9.172:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/os/win/api/win32/struc/src/str02_20.htm"> CPLINFO</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.