|
-
September 14th, 2010, 07:58 AM
#16
Re: Function to Draw Controls from a different dialog box template
 Originally Posted by ovidiucucu
It's not very clear what exactly you want to accomplish, so please clarfy the points below:
- you want a property sheet which is is in wizard mode or not?
- you want a property sheet which is child or is owned by a (form) view?
- what exactly this mean?
To see the difference between child and owned, take a look at these FAQs:
Anyhow, the initial idea of using a tab control to switch between viwes or to show/hide different sets of controls is not so good.
Using the property sheet is easier and more elegant.
Ok
What I want to do is have a Formview where I can have the functionality of a CTabCtrl. The functionality I'm looking for is to be able to access controls in a designated area, and also manipulate controls in the remaining client area. Property PAGES in a PropertySheet doesn't offer that capability: At least I don't see how to make a PropertySheet( the object that contains the PropertyPages) a Child of a FormView.
I see the that:
CPropertySheet::Create
BOOL Create( CWnd* pParentWnd = NULL, DWORD dwStyle = WS_SYSMENU | WS_POPUP | WS_CAPTION | DS_MODALFRAME | WS_VISIBLE, DWORD dwExStyle = WS_EX_DLGMODALFRAME );
But I don't see how to set the position coordinates of the CPropertySheet.
Rate this post if it helped you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|