Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 Tech Support » ResizeParentToFit incorrect behavior Collapse All
Subject Author Date
Aurelien BOUDOUX May 24, 2006 - 2:20 PM

Hi, and sorry for my english

I’m testing the new Prof-UIS 2.54 library, and something sound wrong with MDI app...

When I open a new Document/View in a main frame where all windows are in fullscreen, the new doc/view don’t appear in fullscreen mode like other windows, due to ResizeParentToFit !

Prof-UIS 2.53 don’t do this, so what append ?

Technical Support May 25, 2006 - 8:57 AM

We cannot confirm that this problem occurs and the document/view architecture has nothing to do with what you are talking about. We added the ActivateFrame() virtual method to the CChildFrame class of the FullScreenState sample application and it creates a maximized MDI child frame windows without any problems. Here is the method’s source code:

void CChildFrame::ActivateFrame(int nCmdShow)
{
       nCmdShow = SW_SHOWMAXIMIZED;
       CMDIChildWnd::ActivateFrame(nCmdShow);
}