Does anyone know how to do it programmatically using C++
or is there a command line?
Thanks
Suman
--
Ken Wickes [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"Suman" <suman...@yahoo.com> wrote in message
news:0f4901c38d1a$23361980$a001...@phx.gbl...
Code snippet:
nVerbItemID = GetMenuItemID( hPopup, nVerbItemID );
//nVerbItemID is 9 for properties and 5 for status
CMINVOKECOMMANDINFO cmi;
ZeroMemory(&cmi, sizeof(cmi));
cmi.cbSize = sizeof(CMINVOKECOMMANDINFO);
cmi.lpVerb = MAKEINTRESOURCE(nVerbItemID-1);
cmi.nShow = SW_SHOWNORMAL;
hr = pcmLACContextMenu->InvokeCommand(&cmi);
Also do the Menu IDs change from release to release?
Thanks
Suman
>.
>
I wouldn't be surprised if the menus changed from release to release.
--
Ken Wickes [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"Suman" <suman...@yahoo.com> wrote in message
news:24cfe01c38d2a$50df4c20$a601...@phx.gbl...