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 

Detect an Event when the dialog is dragged and move

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





PostPosted: Mon May 24, 2004 5:24 am    Post subject: Detect an Event when the dialog is dragged and move Reply with quote



What 's the name of the event which is tiggered when Dialog Window is
dragged and moved by left click on the top blue window frame?

Thx for reply.


Back to top
JD
Guest





PostPosted: Tue May 25, 2004 11:47 am    Post subject: Re: Detect an Event when the dialog is dragged and move Reply with quote




"LV" <aaa (AT) oop (DOT) com> wrote:
Quote:
What 's the name of the event which is tiggered when Dialog
Window is dragged [...]

WM_PIGLETTEING or maybe WM_PHOOING :-O

There is no actual event. Windows sends a message to the form
which is WM_MOVING. To receive notice, you'll have to subclass
the dialog. Then you have 2 choices of how to get at that
message. You must either override it's WndProc method or use a
message map.

~ JD


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.