Click here to Skip to main content
15,923,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Call a function after showing the dialog. Pin
Hamid_RT1-Jun-06 22:35
Hamid_RT1-Jun-06 22:35 
AnswerRe: Call a function after showing the dialog. Pin
_anil_1-Jun-06 22:36
_anil_1-Jun-06 22:36 
GeneralRe: Call a function after showing the dialog. Pin
Ayesha Farheen2-Jun-06 0:03
Ayesha Farheen2-Jun-06 0:03 
QuestionCOM Interview Question Pin
Scorpio1-Jun-06 22:01
Scorpio1-Jun-06 22:01 
AnswerRe: COM Interview Question Pin
Stephen Hewitt1-Jun-06 22:22
Stephen Hewitt1-Jun-06 22:22 
GeneralRe: COM Interview Question Pin
Scorpio1-Jun-06 22:30
Scorpio1-Jun-06 22:30 
GeneralRe: COM Interview Question Pin
Stephen Hewitt2-Jun-06 1:17
Stephen Hewitt2-Jun-06 1:17 
QuestionDialog as TopLevel window Pin
mav.northwind1-Jun-06 21:45
mav.northwind1-Jun-06 21:45 
Hi!

Perhaps it's a silly question, but at the moment I'm really stumped:
I need a window to receive messages from a different application for synchronisation purpose.

In order to have an easy way of showing which messages were received, I've created a dialog (CDialog derived) with a ListBox to trace the messages.
Because I want to use SendMessage(HWND_BROADCAST,...) (and not explicitely find out the hWnd of my dialog), I'd have to make the dialog a TopLevel window.

Unfortunately, I've completely failed to achieve this so far. I thought creating the dialog without giving a parent window would create a TopLevel window, but obviously I was wrong - my SendMessage wasn't received and Spy shows a parent window for my dialog...

Can anyone please give me a little push in the right direction?


Regards,
mav

--
Black holes are the places where god divided by 0...
AnswerRe: Dialog as TopLevel window Pin
Nibu babu thomas1-Jun-06 21:57
Nibu babu thomas1-Jun-06 21:57 
GeneralRe: Dialog as TopLevel window Pin
mav.northwind1-Jun-06 22:13
mav.northwind1-Jun-06 22:13 
GeneralRe: Dialog as TopLevel window Pin
Nibu babu thomas1-Jun-06 22:16
Nibu babu thomas1-Jun-06 22:16 
GeneralRe: Dialog as TopLevel window Pin
mav.northwind1-Jun-06 22:36
mav.northwind1-Jun-06 22:36 
AnswerRe: Dialog as TopLevel window Pin
Viorel.1-Jun-06 22:20
Viorel.1-Jun-06 22:20 
GeneralRe: Dialog as TopLevel window Pin
mav.northwind1-Jun-06 22:30
mav.northwind1-Jun-06 22:30 
GeneralRe: Dialog as TopLevel window [modified] Pin
mav.northwind1-Jun-06 23:04
mav.northwind1-Jun-06 23:04 
GeneralRe: Dialog as TopLevel window [modified] Pin
Viorel.1-Jun-06 23:41
Viorel.1-Jun-06 23:41 
GeneralRe: Dialog as TopLevel window [modified] Pin
mav.northwind2-Jun-06 5:31
mav.northwind2-Jun-06 5:31 
QuestionForm's Button not responding Pin
Y_Kaushik1-Jun-06 21:39
Y_Kaushik1-Jun-06 21:39 
QuestionRe: Form's Button not responding Pin
Hamid_RT1-Jun-06 22:35
Hamid_RT1-Jun-06 22:35 
QuestionCustomize ColorDialog Pin
velayudhan_raj1-Jun-06 21:21
velayudhan_raj1-Jun-06 21:21 
AnswerRe: Customize ColorDialog Pin
Hamid_RT1-Jun-06 21:37
Hamid_RT1-Jun-06 21:37 
GeneralRe: Customize ColorDialog Pin
suja sreekumar1-Jun-06 23:31
suja sreekumar1-Jun-06 23:31 
GeneralRe: Customize ColorDialog Pin
Hamid_RT2-Jun-06 1:08
Hamid_RT2-Jun-06 1:08 
QuestionUser interface problem -- check a point is inside a polygon or not Pin
George_George1-Jun-06 21:15
George_George1-Jun-06 21:15 
AnswerRe: User interface problem -- check a point is inside a polygon or not Pin
Stephen Hewitt1-Jun-06 21:20
Stephen Hewitt1-Jun-06 21:20 

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.