Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_KEYDOWN Pin
susanne122-May-09 0:06
susanne122-May-09 0:06 
GeneralRe: WM_KEYDOWN Pin
Stuart Dootson22-May-09 0:26
professionalStuart Dootson22-May-09 0:26 
GeneralRe: WM_KEYDOWN Pin
susanne122-May-09 0:31
susanne122-May-09 0:31 
GeneralRe: WM_KEYDOWN Pin
Rajesh R Subramanian22-May-09 0:46
professionalRajesh R Subramanian22-May-09 0:46 
GeneralRe: WM_KEYDOWN Pin
Stuart Dootson22-May-09 0:58
professionalStuart Dootson22-May-09 0:58 
GeneralRe: WM_KEYDOWN Pin
susanne122-May-09 1:02
susanne122-May-09 1:02 
GeneralRe: WM_KEYDOWN Pin
susanne122-May-09 1:03
susanne122-May-09 1:03 
GeneralRe: WM_KEYDOWN Pin
Stuart Dootson22-May-09 1:12
professionalStuart Dootson22-May-09 1:12 
Have you got some code in your CMainFrame class that you can a) add some code to, and b) guarantee will be executed application's running?

If so, then add a call to the active view's OnKeyDown handler:

GetActiveView()->OnKeyDown((UINT)'a', 1, 0);


Set a breakpoint on that line. When the breakpoint triggers, repeatedly step into the call (it'll call the GetActiveView() methods first, then step back out, then step into the OnKeyDown handler). When you get to an OnKeyDown handler, you can see what the view type is.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: WM_KEYDOWN Pin
susanne122-May-09 1:26
susanne122-May-09 1:26 
GeneralRe: WM_KEYDOWN Pin
Stuart Dootson22-May-09 2:09
professionalStuart Dootson22-May-09 2:09 
GeneralRe: WM_KEYDOWN Pin
susanne122-May-09 2:28
susanne122-May-09 2:28 
GeneralRe: WM_KEYDOWN Pin
Stuart Dootson22-May-09 4:45
professionalStuart Dootson22-May-09 4:45 
GeneralRe: WM_KEYDOWN Pin
susanne124-May-09 22:28
susanne124-May-09 22:28 
GeneralRe: WM_KEYDOWN Pin
Stuart Dootson25-May-09 0:46
professionalStuart Dootson25-May-09 0:46 
GeneralRe: WM_KEYDOWN Pin
susanne125-May-09 2:06
susanne125-May-09 2:06 
Generaluml diag for mfc project Pin
B060611521-May-09 22:31
B060611521-May-09 22:31 
GeneralRe: uml diag for mfc project Pin
_AnsHUMAN_ 21-May-09 22:42
_AnsHUMAN_ 21-May-09 22:42 
GeneralRe: uml diag for mfc project Pin
Cedric Moonen21-May-09 22:50
Cedric Moonen21-May-09 22:50 
GeneralRe: uml diag for mfc project Pin
Rajesh R Subramanian21-May-09 23:17
professionalRajesh R Subramanian21-May-09 23:17 
GeneralRe: uml diag for mfc project Pin
ThatsAlok21-May-09 23:29
ThatsAlok21-May-09 23:29 
GeneralRe: uml diag for mfc project Pin
ThatsAlok21-May-09 23:10
ThatsAlok21-May-09 23:10 
QuestionProblem in UAC Execution Level as "requireAdministrator" in case of startup. Pin
Le@rner21-May-09 22:31
Le@rner21-May-09 22:31 
QuestionHow to get SMS notification from mobile connected to a PC by data cable Pin
Md. Ali Naser Khan21-May-09 21:32
Md. Ali Naser Khan21-May-09 21:32 
AnswerRe: How to get SMS notification from mobile connected to a PC by data cable Pin
SandipG 21-May-09 22:10
SandipG 21-May-09 22:10 
GeneralRe: How to get SMS notification from mobile connected to a PC by data cable Pin
ThatsAlok21-May-09 22:44
ThatsAlok21-May-09 22:44 

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.