Click here to Skip to main content
15,794,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: COM Interview Question Pin
Scorpio1-Jun-06 23:30
Scorpio1-Jun-06 23:30 
GeneralRe: COM Interview Question Pin
Stephen Hewitt2-Jun-06 2:17
Stephen Hewitt2-Jun-06 2:17 
QuestionDialog as TopLevel window Pin
mav.northwind1-Jun-06 22:45
mav.northwind1-Jun-06 22:45 
AnswerRe: Dialog as TopLevel window Pin
Nibu babu thomas1-Jun-06 22:57
Nibu babu thomas1-Jun-06 22:57 
GeneralRe: Dialog as TopLevel window Pin
mav.northwind1-Jun-06 23:13
mav.northwind1-Jun-06 23:13 
GeneralRe: Dialog as TopLevel window Pin
Nibu babu thomas1-Jun-06 23:16
Nibu babu thomas1-Jun-06 23:16 
GeneralRe: Dialog as TopLevel window Pin
mav.northwind1-Jun-06 23:36
mav.northwind1-Jun-06 23:36 
AnswerRe: Dialog as TopLevel window Pin
Viorel.1-Jun-06 23:20
Viorel.1-Jun-06 23:20 
It seems that an MFC application cannot have more than one top-level windows. Therefore, the messages sent by SendMessage(HWND_BROADCAST,...) always reach the main application window instead of your dialog. (Information about how to extend MFC to support multiple top-level windows con be found at http://www.codeproject.com/docview/multitop.asp[^]).

As a possible solution of your problem, since you surely will process broadcasted messages in your main application doing main synchronization tasks, you can simply call there a member function of your debug dialog. (For instance, you can keep a pointer to your debug dialog, which should be null when the dialog is not displayed).

Hope this will help.
GeneralRe: Dialog as TopLevel window Pin
mav.northwind1-Jun-06 23:30
mav.northwind1-Jun-06 23:30 
GeneralRe: Dialog as TopLevel window [modified] Pin
mav.northwind2-Jun-06 0:04
mav.northwind2-Jun-06 0:04 
GeneralRe: Dialog as TopLevel window [modified] Pin
Viorel.2-Jun-06 0:41
Viorel.2-Jun-06 0:41 
GeneralRe: Dialog as TopLevel window [modified] Pin
mav.northwind2-Jun-06 6:31
mav.northwind2-Jun-06 6:31 
QuestionForm's Button not responding Pin
Y_Kaushik1-Jun-06 22:39
Y_Kaushik1-Jun-06 22:39 
QuestionRe: Form's Button not responding Pin
Hamid_RT1-Jun-06 23:35
Hamid_RT1-Jun-06 23:35 
QuestionCustomize ColorDialog Pin
velayudhan_raj1-Jun-06 22:21
velayudhan_raj1-Jun-06 22:21 
AnswerRe: Customize ColorDialog Pin
Hamid_RT1-Jun-06 22:37
Hamid_RT1-Jun-06 22:37 
GeneralRe: Customize ColorDialog Pin
suja sreekumar2-Jun-06 0:31
suja sreekumar2-Jun-06 0:31 
GeneralRe: Customize ColorDialog Pin
Hamid_RT2-Jun-06 2:08
Hamid_RT2-Jun-06 2:08 
QuestionUser interface problem -- check a point is inside a polygon or not Pin
George_George1-Jun-06 22:15
George_George1-Jun-06 22:15 
AnswerRe: User interface problem -- check a point is inside a polygon or not Pin
Stephen Hewitt1-Jun-06 22:20
Stephen Hewitt1-Jun-06 22:20 
GeneralRe: User interface problem -- check a point is inside a polygon or not [modified] Pin
George_George1-Jun-06 22:50
George_George1-Jun-06 22:50 
GeneralRe: User interface problem -- check a point is inside a polygon or not [modified] Pin
Cedric Moonen1-Jun-06 22:57
Cedric Moonen1-Jun-06 22:57 
GeneralRe: User interface problem -- check a point is inside a polygon or not [modified] Pin
George_George1-Jun-06 23:09
George_George1-Jun-06 23:09 
GeneralRe: User interface problem -- check a point is inside a polygon or not [modified] Pin
Stephen Hewitt1-Jun-06 23:10
Stephen Hewitt1-Jun-06 23:10 
GeneralRe: User interface problem -- check a point is inside a polygon or not [modified] Pin
George_George1-Jun-06 23:32
George_George1-Jun-06 23:32 

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.