Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: displaying tooltips? Pin
Ravi Bhavnani9-Feb-04 2:26
professionalRavi Bhavnani9-Feb-04 2:26 
GeneralNeed Help about COlePropertyPage and CPropertySheet Pin
hajer8-Feb-04 22:45
hajer8-Feb-04 22:45 
GeneralDLL Pin
cberam8-Feb-04 22:08
cberam8-Feb-04 22:08 
GeneralRe: DLL Pin
Selvam R8-Feb-04 22:25
professionalSelvam R8-Feb-04 22:25 
GeneralRe: DLL Pin
cberam9-Feb-04 1:09
cberam9-Feb-04 1:09 
GeneralContext Menu Handler Pin
Sebastian Schneider8-Feb-04 21:55
Sebastian Schneider8-Feb-04 21:55 
GeneralRe: Context Menu Handler Pin
Michael Dunn9-Feb-04 5:30
sitebuilderMichael Dunn9-Feb-04 5:30 
GeneralRe: Context Menu Handler Pin
Sebastian Schneider9-Feb-04 22:19
Sebastian Schneider9-Feb-04 22:19 
Thanks, that worked for your BMPView Example.

But it did not for the OpenWithExt-Example, which does not compile correctly.

OpenWithExt contains the following code, which generates an error:

// Insert the submenu into the ctx menu provided by Explorer.
MENUITEMINFO mii = { sizeof(MENUITEMINFO) };

mii.fMask = MIIM_SUBMENU | MIIM_STRING | MIIM_ID;
mii.wID = uID++;
mii.hSubMenu = hSubmenu;
mii.dwTypeData = _T("C&P Open With");

InsertMenuItem ( hmenu, uMenuIndex, TRUE, &mii );

return MAKE_HRESULT ( SEVERITY_SUCCESS, FACILITY_NULL, uID - uidFirstCmd );

Obviously, Visual Studio 6 Enterprise (thats what we are using) cannot resolve
MIIM_STRING. If I fire up the MSDN, there is no MIIM_STRING for MENUITEMINFO.

Is that a typo or did I do anything wrong?

I am curious because this "Submenu-Example" is pretty much what I need to implement, with a few lines of additional evaluation code and multi-file-support.

Cheers
Sebastian


GeneralRe: Context Menu Handler Pin
Michael Dunn10-Feb-04 6:36
sitebuilderMichael Dunn10-Feb-04 6:36 
GeneralUsing stable_sort with predicate function: Help please. Pin
Cloaca8-Feb-04 19:36
Cloaca8-Feb-04 19:36 
GeneralRe: Using stable_sort with predicate function: Help please. Pin
Cloaca9-Feb-04 9:24
Cloaca9-Feb-04 9:24 
GeneralCListCtrl advice needed Pin
Thomas Andersen8-Feb-04 19:21
Thomas Andersen8-Feb-04 19:21 
GeneralRe: CListCtrl advice needed Pin
David Crow9-Feb-04 5:47
David Crow9-Feb-04 5:47 
QuestionHow to delete CFileFind Object Pin
rasha20038-Feb-04 18:54
rasha20038-Feb-04 18:54 
AnswerRe: How to delete CFileFind Object Pin
David Crow9-Feb-04 5:49
David Crow9-Feb-04 5:49 
GeneralRe: How to delete CFileFind Object Pin
rasha20039-Feb-04 5:53
rasha20039-Feb-04 5:53 
GeneralRe: How to delete CFileFind Object Pin
David Crow9-Feb-04 6:07
David Crow9-Feb-04 6:07 
GeneralRe: How to delete CFileFind Object Pin
rasha20039-Feb-04 6:52
rasha20039-Feb-04 6:52 
GeneralRe: How to delete CFileFind Object Pin
David Crow9-Feb-04 8:00
David Crow9-Feb-04 8:00 
GeneralRe: How to delete CFileFind Object Pin
rasha20039-Feb-04 18:50
rasha20039-Feb-04 18:50 
QuestionHow to get ShowPropertyPages Method Pin
Inam8-Feb-04 18:46
Inam8-Feb-04 18:46 
GeneralWrong icon is displyed on "right-click on the exe"/"General tab" page. Pin
koteswara8-Feb-04 18:35
koteswara8-Feb-04 18:35 
GeneralRe: Wrong icon is displyed on "right-click on the exe"/"General tab" page. Pin
Anonymous8-Feb-04 19:24
Anonymous8-Feb-04 19:24 
GeneralRe: Wrong icon is displyed on "right-click on the exe"/"General tab" page. Pin
koteswara8-Feb-04 20:24
koteswara8-Feb-04 20:24 
QuestionHow to know contents on a ftp server has changed since last visit Pin
Atif Mushtaq8-Feb-04 18:25
Atif Mushtaq8-Feb-04 18:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.