Click here to Skip to main content
15,902,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Force a popup menu hosted in a CDialog to show up its accelerators keys Pin
enhzflep17-Sep-14 23:50
enhzflep17-Sep-14 23:50 
GeneralRe: Force a popup menu hosted in a CDialog to show up its accelerators keys Pin
sdancer7518-Sep-14 0:20
sdancer7518-Sep-14 0:20 
enhzflep wrote:
If I understand correctly, the accelerator 'hints' on the popup menu are fine. However, when the popup is displayed, the accelerator hints of the dialog are hidden.


That's correct.

By default if you start a new MFC app and you create a menu that have some acceleration keys, if you are not handling in some way their messages ie loading the accel table, then it automatically disables them.

The problem is that I handle the accel keys not in the dialog but in the MainFrame where the same menu also exists !!!

Regards,
sdancer75

QuestionMigrating from Win.MFC to Linux/??? Pin
Bram van Kampen16-Sep-14 16:30
Bram van Kampen16-Sep-14 16:30 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
M@dHatter16-Sep-14 17:27
M@dHatter16-Sep-14 17:27 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
CPallini16-Sep-14 18:43
mveCPallini16-Sep-14 18:43 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Bram van Kampen17-Sep-14 12:48
Bram van Kampen17-Sep-14 12:48 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 16:37
professionalAlbert Holguin17-Sep-14 16:37 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
enhzflep17-Sep-14 16:51
enhzflep17-Sep-14 16:51 
QuestionRe: Migrating from Win.MFC to Linux/??? Pin
Maximilien17-Sep-14 3:10
Maximilien17-Sep-14 3:10 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 8:21
professionalAlbert Holguin17-Sep-14 8:21 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Maximilien17-Sep-14 8:25
Maximilien17-Sep-14 8:25 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 8:43
professionalAlbert Holguin17-Sep-14 8:43 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Maximilien17-Sep-14 9:15
Maximilien17-Sep-14 9:15 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 10:25
professionalAlbert Holguin17-Sep-14 10:25 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
jschell17-Sep-14 9:57
jschell17-Sep-14 9:57 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 10:24
professionalAlbert Holguin17-Sep-14 10:24 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
jschell18-Sep-14 8:34
jschell18-Sep-14 8:34 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin18-Sep-14 10:03
professionalAlbert Holguin18-Sep-14 10:03 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
Bram van Kampen17-Sep-14 13:28
Bram van Kampen17-Sep-14 13:28 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 8:34
professionalAlbert Holguin17-Sep-14 8:34 
AnswerRe: Migrating from Win.MFC to Linux/??? Pin
bling17-Sep-14 8:54
bling17-Sep-14 8:54 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 10:47
professionalAlbert Holguin17-Sep-14 10:47 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Bram van Kampen17-Sep-14 13:33
Bram van Kampen17-Sep-14 13:33 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
SoMad17-Sep-14 14:04
professionalSoMad17-Sep-14 14:04 
GeneralRe: Migrating from Win.MFC to Linux/??? Pin
Albert Holguin17-Sep-14 16:40
professionalAlbert Holguin17-Sep-14 16:40 

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.