Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Have a Property sheet which has CMDIFrameWnd character?

Status
Not open for further replies.

icyfire

Technical User
Aug 22, 2002
1
US
I am using CPropertySheet in my MFC application , Althrough it has member function
CPropertySheet::Create
BOOL Create( CWnd* pParentWnd = NULL, DWORD dwStyle = (DWORD)–1, DWORD dwExStyle = 0 );

But I found it doesn't take care every window style as you wanted :
(1) I add the maximize and minimize box for this property sheet , but I found it can be restored from maximized state by simply click the restore box, but can not be restored from minimized state by clicking the restore box, does this "restore from minimize state " need to write some extra code to take care of it? But then how? Since it doesn't provide "MDIRestore" function like class "CMDIFrameWnd" provided....

(2) it ignore "FWS_ADDTOTITLE"(Belong to CFrameWnd), which I really want so can make this propertysheet title be added into it's parent window title when maximized it;

Basically , I want this propertysheet has character like a MDI child window , but I don't know How I can make it. Any one can give me helpful suggestion? I will appreciate ....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top