Click here to Skip to main content
15,929,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
I hadn't tried it yet, but I did today and I still had the same problem. Thanks for the advice, though. Not a waste of time at all Smile | :) I had forgotten about that particular override.

By the way, I found a description on MS' website about how to call a "FilterDllMsg()" func from the main app's PreTranslateMessage() and that, at least, allowed me to recieve the key messages in the dialog. (I'd rather be able to do this without modifying the main app code, but it's a start.)

However, I have a wierd crash bug now that goes away if I change the "m_pMainWnd = &dlg;" line in my main app's InitInstance() func to "m_pMainWnd = NULL;" If I press a key in the dialog, the DLL/app freeze. I'm probably going to post another question about this problem.

Thanks Again,
Justin

Here's the link to the MS sample: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample/html/vcsamDllScreenCapSample.asp
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 
QuestioncWho can share a CCamera (Driectx) with me? Pin
chenbuaa9-Jun-04 3:37
chenbuaa9-Jun-04 3:37 
QuestionHow to log date and time Pin
bhangie9-Jun-04 3:28
bhangie9-Jun-04 3:28 

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.