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/24 16:17,
3.21.46.68: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://sxlist.com/TECHREF/os/win/api/win32/struc/src/str01_22.htm"> CMINVOKECOMMANDINFO</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.