![]() |
How to handle the reisize event of mainframe |
Post Reply ![]() |
Author | |
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() Posted: 23 June 2008 at 2:43am |
Hello,
I have created one custom control and placed it on a ribbon bar.
In this customcotrol i have taken a dialog and onwhich i am placing a picture control.
now i want to reisize this custom control when mainframe window is minimized or maximized?
How can i do that?where should i handle this functionality?
please guide me.
thanks in Advance.
Thanks and regards,
Vijay
|
|
![]() |
|
rdhd ![]() Senior Member ![]() ![]() Joined: 13 August 2007 Location: United States Status: Offline Points: 899 |
![]() ![]() ![]() ![]() ![]() |
The frame window will be sent a WM_SIZE message. You can add a handler to your message map or if you have a raw WindowProc implementation, add a case for WM_SIZE.
Forward the message to the parent and when that call returns, you can add any additional handling you want.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |