Professional UI Solutions
Site Map   /  Register


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 » CExtPageContainerWnd and resizing its' container. Collapse All
Subject Author Date
Eli Kaczer Nov 14, 2006 - 6:12 PM

I have a CFrameWnd-derived class which contains a CExtPageContainerWnd that expands/contracts several dialogs. I would like to be able to resize the CFrameWnd to fit the currently expanded and contracted pages. I derived my own class from CExtPageContainerWnd and over-rode OnPageContainerItemExpanded() where I loop through all the visible pages and obtain the page rect from PageInfo. I use the largest rect.bottom value to resize the frame window, but the value is too small. I would appreciate any help on this issue.

Technical Support Nov 16, 2006 - 3:43 AM

Here is a sample project that may be helpful for you: TestPopupPageContainer.

Eli Kaczer Nov 16, 2006 - 3:21 PM

Exactly what I needed!!! Thanks for the quick reply!!!!