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 » Different behaviour under XP and W2K Collapse All
Subject Author Date
Thomas Maurer Aug 2, 2006 - 8:11 AM

Hello

In my tabbed MDI application I want to be able to open new documents without making them the active window. If this behaviour is desired I use

nCmdShow = SW_SHOWMAXIMIZED|SW_SHOWNOACTIVATE;

in my CChildFrame::ActivateFrame method.

Under W2K this works fine but under Windows XP the windows are not maximized anymore = the frame of the document can be seen.

Do you know what is wrong? Does this have anything to do with Prof-Uis or is that a general difference of the OS?

Thanks in advance

Thomas

Technical Support Aug 2, 2006 - 12:35 PM

The standard MDI interface in Windows XP has some bugs. We are aware al least of two problems in addition to the one reported in your message:

1) When switching between MDI child windows that are maximized, the new active window incorrectly becomes restored for a short time. This is fixed by Prof-UIS internal code.

2) The MDI child frames without WS_BORDER and WS_CAPTION standard window styles are not managed correctly. These windows do not affect MDI cascade/tile horizontally/tile vertically/arrange icon commands. This is not fixed by Prof-UIS internal code. If you apply the CExtNCW template class to any CChildFrame class in our MDI sample and choose 2007 or skin themes, then you will see this bug.

We plan to recode the MDI client window from scratch to provide the same functionality as you can see in Windows 2000.