PB MFC

From Mesdoc

Revision as of 13:38, 24 August 2006 by 81.80.101.92 (Talk)

PB raccourcis

hAccelTable dialog

http://www.codeproject.com/ce/ltwtdlg.asp


  • Keyboard messages/accelerators handling in MFC dialog based applications

http://www.codeproject.com/dialog/pretransdialog01.asp


Let's say you have a menu in your dialog based app. And you have an accelerator key for some particular task. You'll soon be disappointed to find that the hotkey does not work. The problem is that the modal dialog app's message loop does not call TranslateAccelerator. I do not know why this is so. Presumable the Microsoft team decided that people shouldn't use dialog based apps to write complicated applications, with hotkeys and menus.


  • Dialog App

http://www.flounder.com/dialogapp.htm


http://www.developpez.net/forums/showthread.php?t=40115

Personal tools