Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtResizableBar Collapse All
Subject Author Date
Anil Siddhpura May 22, 2009 - 6:01 AM

How can I add resizable bar in dialog based application ?

Technical Support May 23, 2009 - 11:46 AM

You can create a resizable control bar inside a frame window only. So, you should create a CFrameWnd window as a child of your dialog. The frame window should be created using the CWnd::Create() method and WS_CHILD style. Then you should create and configure required control bars inside the child frame window. Please note, the CFrameWnd class invokes the delete this code in the CFrameWnd::PostNcDestroy() virtual method. This means you should override this method without invoking the parent class method or instantiate the CFrameWnd object dynamically.