BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WM_COMMAND does not arrive at design time?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Kirsten
Guest





PostPosted: Wed May 26, 2004 6:23 pm    Post subject: WM_COMMAND does not arrive at design time? Reply with quote



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... Wink
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.