Click here to Skip to main content
16,004,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detecting when a window is created Pin
Tim James Reynolds10-Jun-04 2:39
Tim James Reynolds10-Jun-04 2:39 
GeneralRe: Detecting when a window is created Pin
gamitech9-Jun-04 9:54
gamitech9-Jun-04 9:54 
GeneralRe: Detecting when a window is created Pin
Tim James Reynolds10-Jun-04 2:50
Tim James Reynolds10-Jun-04 2:50 
GeneralRe: Detecting when a window is created Pin
Tim James Reynolds10-Jun-04 3:52
Tim James Reynolds10-Jun-04 3:52 
QuestionWhat's the message when I leave a non modal dialog? Pin
doctorpi9-Jun-04 7:59
doctorpi9-Jun-04 7:59 
AnswerRe: What's the message when I leave a non modal dialog? Pin
David Crow9-Jun-04 8:15
David Crow9-Jun-04 8:15 
AnswerRe: What's the message when I leave a non modal dialog? Pin
BlackKettle9-Jun-04 8:22
BlackKettle9-Jun-04 8:22 
GeneralProcessing Arrow Keys in a Modeless Dialog (DLL) Pin
Justin Cooke9-Jun-04 6:08
Justin Cooke9-Jun-04 6:08 
Greetings All,

I'm trying to process the arrow keys in a modeless dialog implemented as a DLL (MFC.) I've tried various methods based on what I've found on CodeProject, but none have worked. OnKeyDown() and PreTranslateMessage() are never called in my dlg. Instead, PreTranslateMessage() in the client application that uses the DLL is called whenever I press the keys. I also tried overriding OnGetDlgCode() in my DLL dlg class and returning DLGC_WANTMESSAGE and DLGC_WANTALLKEYS, but that also had no effect.

I can't change anything in the client app to handle this because I'm not normally in control of that.

Any suggestions would be greatly appreciated.

Thanks,
Justin
GeneralRe: Processing Arrow Keys in a Modeless Dialog (DLL) Pin
mangellj9-Jun-04 9:55
mangellj9-Jun-04 9:55 
GeneralRe: Processing Arrow Keys in a Modeless Dialog (DLL) Pin
Justin Cooke10-Jun-04 10:46
Justin Cooke10-Jun-04 10:46 
Generalcan't delete all items from CListBox Pin
kfaday9-Jun-04 5:47
kfaday9-Jun-04 5:47 
GeneralRe: can't delete all items from CListBox Pin
palbano9-Jun-04 5:53
palbano9-Jun-04 5:53 
GeneralRe: can't delete all items from CListBox Pin
kfaday9-Jun-04 6:14
kfaday9-Jun-04 6:14 
GeneralRe: can't delete all items from CListBox Pin
walster9-Jun-04 7:36
walster9-Jun-04 7:36 
GeneralRe: can't delete all items from CListBox Pin
Ravi Bhavnani9-Jun-04 9:04
professionalRavi Bhavnani9-Jun-04 9:04 
GeneralRe: can't delete all items from CListBox Pin
Shi Zhu9-Jun-04 17:14
Shi Zhu9-Jun-04 17:14 
GeneralCWnd::OnEraseBkgnd usage Pin
kfaday9-Jun-04 5:24
kfaday9-Jun-04 5:24 
GeneralRe: CWnd::OnEraseBkgnd usage Pin
Iain Clarke, Warrior Programmer9-Jun-04 5:46
Iain Clarke, Warrior Programmer9-Jun-04 5:46 
GeneralRe: CWnd::OnEraseBkgnd usage Pin
kfaday9-Jun-04 6:16
kfaday9-Jun-04 6:16 
GeneralRe: CWnd::OnEraseBkgnd usage Pin
palbano9-Jun-04 7:07
palbano9-Jun-04 7:07 
QuestionNULL Char in a String ?? Pin
Alex H 19839-Jun-04 4:31
Alex H 19839-Jun-04 4:31 
AnswerRe: NULL Char in a String ?? Pin
Iain Clarke, Warrior Programmer9-Jun-04 4:55
Iain Clarke, Warrior Programmer9-Jun-04 4:55 
AnswerRe: NULL Char in a String ?? Pin
gamitech9-Jun-04 8:41
gamitech9-Jun-04 8:41 
QuestionHow to make a exe format ebook in C++ Pin
Tcpip20059-Jun-04 4:24
Tcpip20059-Jun-04 4:24 
AnswerRe: How to make a exe format ebook in C++ Pin
David Crow9-Jun-04 4:58
David Crow9-Jun-04 4:58 

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.