Print Page | Close Window

How to handle the reisize event of mainframe

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11145
Printed Date: 26 April 2024 at 6:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to handle the reisize event of mainframe
Posted By: vijaymahajan
Subject: How to handle the reisize event of mainframe
Date 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



Replies:
Posted By: rdhd
Date Posted: 24 June 2008 at 12:02pm
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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net