Kirsten Guest
|
Posted: Wed May 26, 2004 6:23 pm Post subject: WM_COMMAND does not arrive at design time? |
|
|
Hi @all,
how can it be?
I want to send a (self-made) notification from a child window to its
parent by using WM_COMMAND.
Perform(WM_COMMAND, MakeLong(0,MYNOTIFICATION), Handle);
SendMessage(Parent->Handle, WM_COMMAND, MakeLong(0,MYNOTIFICATION),
Handle);
PostMessage(Parent->Handle, WM_COMMAND, MakeLong(0,MYNOTIFICATION),
Handle);
I tried everything!!!
1. Everything works well at run time... nothing works in design time!
2. When I look at Winspector (with this application I can watch all
messages) the destintion window gets the WM_COMMAND message in run
time AND design time
3. For debugging reasons I call the function MessageBox when
intercepting the WM_COMMAND in my component. The MessageBox does not
appear in design time (after my notifications is sent)
how can it be? :(
Thanks for help...
|
|