Resizable Dilaog With 'Tree Control & Tabs' |
Post Reply |
Author | |
Satyen
Groupie Joined: 22 December 2008 Location: India Status: Offline Points: 16 |
Post Options
Thanks(0)
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. |
|
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 |