J
Juan Dent
Guest
Hi,
I have this CDialog subclass and want to catch all keystrokes pressed while it is active. I used class wizard to create a method
void CFindFileTypesDlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
attached to the macro ON_WM_KEYDOWN() in the message map, but it does not catch any keystrokes.
Specifically I want a shortcut like CTRL-C to activate the copy feature while the focus is in a listbox inside the dialog.
What am I doing wrong?
Regards,
Juan Dent
Juan Dent
Continue reading...
I have this CDialog subclass and want to catch all keystrokes pressed while it is active. I used class wizard to create a method
void CFindFileTypesDlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
attached to the macro ON_WM_KEYDOWN() in the message map, but it does not catch any keystrokes.
Specifically I want a shortcut like CTRL-C to activate the copy feature while the focus is in a listbox inside the dialog.
What am I doing wrong?
Regards,
Juan Dent
Juan Dent
Continue reading...