Click here to Skip to main content
16,007,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to change menu caption? Pin
prasad_som8-Mar-07 18:01
prasad_som8-Mar-07 18:01 
GeneralRe: How to change menu caption? Pin
NiceNaidu8-Mar-07 18:38
NiceNaidu8-Mar-07 18:38 
GeneralRe: How to change menu caption? Pin
Hamid_RT8-Mar-07 19:50
Hamid_RT8-Mar-07 19:50 
QuestionHow to obtain the menu type from the menu handle? Pin
schwadan8-Mar-07 15:30
schwadan8-Mar-07 15:30 
AnswerRe: How to obtain the menu type from the menu handle? Pin
NiceNaidu8-Mar-07 18:47
NiceNaidu8-Mar-07 18:47 
GeneralRe: How to obtain the menu type from the menu handle? Pin
schwadan9-Mar-07 13:57
schwadan9-Mar-07 13:57 
AnswerRe: How to obtain the menu type from the menu handle? Pin
prasad_som8-Mar-07 20:31
prasad_som8-Mar-07 20:31 
GeneralRe: How to obtain the menu type from the menu handle? Pin
schwadan9-Mar-07 14:19
schwadan9-Mar-07 14:19 
I just tried it out: The example works if a pass the handle to the parent menu bar for m_hMenu. If I pass the handle of the popup menu itself, the MF_POPUP flag is not set in the result. This is also what one would expect according to the API doc.
It seems it is really not possible to retrieve the menu type from the menu handle itself. It seems I've found a hole in the Win32 API ... Wink | ;)



Daniel
AnswerRe: How to obtain the menu type from the menu handle? Pin
prasad_som9-Mar-07 15:39
prasad_som9-Mar-07 15:39 
QuestionHow do you add an application icon using Visual Studio 6 [modified] Pin
devvvy8-Mar-07 15:21
devvvy8-Mar-07 15:21 
AnswerRe: How do you add an application icon using Visual Studio 6 Pin
Mark Salsbery8-Mar-07 16:12
Mark Salsbery8-Mar-07 16:12 
GeneralRe: How do you add an application icon using Visual Studio 6 Pin
devvvy8-Mar-07 18:33
devvvy8-Mar-07 18:33 
QuestionHow to move the IME window? Pin
Super Lloyd8-Mar-07 14:18
Super Lloyd8-Mar-07 14:18 
Questionload jpg file in C++ Pin
cedance8-Mar-07 13:39
cedance8-Mar-07 13:39 
AnswerRe: load jpg file in C++ Pin
Mark Salsbery8-Mar-07 15:31
Mark Salsbery8-Mar-07 15:31 
AnswerRe: load jpg file in C++ Pin
Chris Losinger8-Mar-07 15:43
professionalChris Losinger8-Mar-07 15:43 
GeneralRe: load jpg file in C++ Pin
cedance8-Mar-07 16:38
cedance8-Mar-07 16:38 
GeneralRe: load jpg file in C++ Pin
cp98768-Mar-07 17:03
cp98768-Mar-07 17:03 
GeneralRe: load jpg file in C++ Pin
cedance8-Mar-07 17:19
cedance8-Mar-07 17:19 
GeneralRe: load jpg file in C++ Pin
cp98768-Mar-07 18:02
cp98768-Mar-07 18:02 
AnswerRe: load jpg file in C++ Pin
Paresh Chitte8-Mar-07 17:37
Paresh Chitte8-Mar-07 17:37 
GeneralRe: load jpg file in C++ Pin
cedance8-Mar-07 17:54
cedance8-Mar-07 17:54 
GeneralRe: load jpg file in C++ Pin
Mark Salsbery8-Mar-07 18:30
Mark Salsbery8-Mar-07 18:30 
GeneralRe: load jpg file in C++ Pin
cedance8-Mar-07 19:47
cedance8-Mar-07 19:47 
GeneralRe: load jpg file in C++ Pin
Paresh Chitte8-Mar-07 18:34
Paresh Chitte8-Mar-07 18:34 

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.