Click here to Skip to main content
15,911,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAccelerators not working in MFC dll Pin
ncitom3-Jan-12 14:17
ncitom3-Jan-12 14:17 
AnswerRe: Accelerators not working in MFC dll Pin
Satheesh15463-Jan-12 16:37
Satheesh15463-Jan-12 16:37 
GeneralRe: Accelerators not working in MFC dll Pin
ncitom4-Jan-12 6:06
ncitom4-Jan-12 6:06 
AnswerRe: Accelerators not working in MFC dll Pin
patup93-Jan-12 21:22
patup93-Jan-12 21:22 
GeneralRe: Accelerators not working in MFC dll Pin
ncitom4-Jan-12 6:18
ncitom4-Jan-12 6:18 
GeneralRe: Accelerators not working in MFC dll Pin
Randor 4-Jan-12 7:21
professional Randor 4-Jan-12 7:21 
AnswerRe: Accelerators not working in MFC dll Pin
ncitom4-Jan-12 8:43
ncitom4-Jan-12 8:43 
JokeRe: Accelerators not working in MFC dll Pin
Randor 4-Jan-12 9:02
professional Randor 4-Jan-12 9:02 
GeneralRe: Accelerators not working in MFC dll Pin
ncitom4-Jan-12 12:06
ncitom4-Jan-12 12:06 
QuestionDynamic menu with statusbar messages. Pin
Maximilien3-Jan-12 10:24
Maximilien3-Jan-12 10:24 
AnswerRe: Dynamic menu with statusbar messages. Pin
ThatsAlok3-Jan-12 19:19
ThatsAlok3-Jan-12 19:19 
GeneralRe: Dynamic menu with statusbar messages. Pin
Maximilien4-Jan-12 3:35
Maximilien4-Jan-12 3:35 
AnswerRe: Dynamic menu with statusbar messages. Pin
Randor 4-Jan-12 0:59
professional Randor 4-Jan-12 0:59 
GeneralRe: Dynamic menu with statusbar messages. Pin
Maximilien4-Jan-12 4:13
Maximilien4-Jan-12 4:13 
I'm not using ON_UPDATE_COMMAND_UI but CN_UPDATE_COMMAND_UI in CMainFrame::OnCmdMsg.

AFAIK, The ON_UPDATE_COMMAND_UI(_RANGE) and CN_UPDATE_COMMAND_UI will be called when the menu is created, not when the mouse moves over the different menu items

If I use the range, I still have to manage/handle each item individually to find out which one I click I selected to be able to "do" whatever I need to "do" (that is working perfectly with the code in CMainFrame::OnCmdMsg), in my case it is to open a file (

I've already fixed some of the issues that could be found in the msdn samples.

My only issue is not the adding/handling of dynamic menu items, it is only display the associated text in the statubar when the mouse moves over menu items.

Anyway, it is only a small enhancement for now.


Thanks.
Watched code never compiles.

GeneralRe: Dynamic menu with statusbar messages. Pin
Randor 4-Jan-12 4:31
professional Randor 4-Jan-12 4:31 
GeneralRe: Dynamic menu with statusbar messages. Pin
Maximilien4-Jan-12 5:22
Maximilien4-Jan-12 5:22 
JokeRe: Dynamic menu with statusbar messages. Pin
Randor 4-Jan-12 5:27
professional Randor 4-Jan-12 5:27 
QuestionConvert CString to CObject VC 6.0 MFC SOLVED Pin
Vaclav_3-Jan-12 8:25
Vaclav_3-Jan-12 8:25 
AnswerRe: Convert CString to CObject VC 6.0 MFC Pin
CPallini3-Jan-12 8:31
mveCPallini3-Jan-12 8:31 
GeneralRe: Convert CString to CObject VC 6.0 MFC Pin
Vaclav_3-Jan-12 8:48
Vaclav_3-Jan-12 8:48 
GeneralRe: Convert CString to CObject VC 6.0 MFC Pin
Vaclav_3-Jan-12 8:49
Vaclav_3-Jan-12 8:49 
GeneralRe: Convert CString to CObject VC 6.0 MFC Pin
ThatsAlok3-Jan-12 19:16
ThatsAlok3-Jan-12 19:16 
QuestionCheck if a window is hidden by another window Pin
Member 29654713-Jan-12 5:48
Member 29654713-Jan-12 5:48 
AnswerRe: Check if a window is hidden by another window Pin
Richard Andrew x643-Jan-12 5:57
professionalRichard Andrew x643-Jan-12 5:57 
AnswerRe: Check if a window is hidden by another window Pin
Randor 3-Jan-12 6:42
professional Randor 3-Jan-12 6:42 

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.