Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - Resizable Dilaog With 'Tree Control & Tabs'
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resizable Dilaog With 'Tree Control & Tabs'

 Post Reply Post Reply
Author
Message
Satyen View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2008
Location: India
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Satyen Quote  Post ReplyReply Direct Link To This Post Topic: Resizable Dilaog With 'Tree Control & Tabs'
    Posted: 17 February 2015 at 4:24am
Hello Members,

I want to have a fully resizable (i.e. dialog controls should automatically adjust their positions and size) dialog for my application. Currently my dialog is a standard MFC dialog derived from 'CDialog'. The dialog has a tree control on left and 3 tabs on the right. Please refer the image below.



The tabs are 'CPropertyPage' classes. I want the whole dialog to be resizable. This means the tree control should adjust width and height as the dialog boundary is altered and it should show scroll bars. The tabs (pages) and controls inside them (e.g. grid) should also resize accordingly.  The buttons at bottom should never get hidden. The dialog size should be restricted to min and max size. Until now I have just managed to show scroll bars on the dialog that allow me accessing hidden controls. 

My primary requirement is to automatically adjust (reposition) all controls on the dialog according to the dialog frame resize. Can this be achieved using the codejock classes for dialog and pages - CXTPPropertySheet and CXTPPropertyPage. Please redirect t me to a post that shows example of this type of implementation.

Thanks & Regards,
Satyenjit Bagal.
Software Development Engineer.
SIEMENS Automation and Drives.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.