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 12:14, local time: 2024/8/23 19:10,
3.14.143.125: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://piclist.com/tecHREF/os/win/api/win32/struc/src/str01_22.htm"> CMINVOKECOMMANDINFO</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.