Sep 25th, 2001, 10:05 AM
#1
Thread Starter
New Member
Form Moved Event?
I have a main form and a secondary form that I would like to keep "hooked" to the main. The only way I could come up with would be to now if the Main form had moved and move the secondary form occordingly.
How can I do this?
Sep 25th, 2001, 10:56 AM
#2
Frenzied Member
Subclass the form for the WM_MOVE message. On thet message move the second form.
Code:
WM_MOVE
The WM_MOVE message is sent after a window has been moved.
This is one way.
Sep 25th, 2001, 10:58 AM
#3
Try
Try setting one form as a parent to the other.
Attached Files
Sep 25th, 2001, 11:07 AM
#4
Thread Starter
New Member
subClassing?
Vlatko, How do I go about sub classsing?
Autobot, I think you were close but I need the form attached to the side of the main form, so that it moves with the Main form.
Thanks
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width