Contains information about a context menu command.
typedef struct _CMInvokeCommandInfo { DWORD cbSize; // sizeof(CMINVOKECOMMANDINFO) DWORD fMask; HWND hwnd; LPCSTR lpVerb; LPCSTR lpParameters; LPCSTR lpDirectory; int nShow; DWORD dwHotKey; HANDLE hIcon; } CMINVOKECOMMANDINFO, *LPCMINVOKECOMMANDINFO;
CMIC_MASK_HOTKEY |
Specifies that the dwHotKey member is valid. |
CMIC_MASK_ICON |
Specifies that the hIcon member is valid. |
CMIC_MASK_FLAG_NO_UI |
Prevents the system from displaying user interface elements (for example, error messages) while carrying out a command. |
If the high-order word is not zero, this member is the address of a null-terminated string specifying the language-independent name of the command to carry out. This member is typically a string when a command is being activated by an application. The system provides predefined constant values for the following command strings:
Value |
String |
CMDSTR_NEWFOLDER |
“NewFolder” |
CMDSTR_VIEWDETAILS |
“ViewDetails” |
CMDSTR_VIEWLIST |
“ViewList” |
The address of this structure is passed to the IContextMenu::InvokeCommand method.
IContextMenu::InvokeCommand, MAKEINTRESOURCE, ShowWindow
file: /Techref/os/win/api/win32/struc/src/str01_22.htm, 4KB, , updated: 2000/4/7 11:14, local time: 2024/11/23 19:38,
18.188.227.192: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://ecomorder.com/techref/os/win/api/win32/struc/src/str01_22.htm"> CMINVOKECOMMANDINFO</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.