PRB: Taskbar Anomolies When Application Larger than the Screen

Last reviewed: January 7, 1996
Article ID: Q142166
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) for:

        - Microsoft Windows NT version 3.51
        - Microsoft Windows 95
    

SYMPTOMS

If your application is sized larger than the available screen size, the taskbar does not act consistantly with respect to staying in the forground or dropping to the background when the "Always on Top" setting is on.

Basically, if an application is larger than the screen resolution and the left edge of the app is visible, the taskbar remains topmost once it has been touched. If the left edge of the application is not visible, the taskbar continues to fall behind the application each time it gets the focus.

RESOLUTION

Make sure when sizing your window to use GetSystemMetrics() with either SM_C[X|Y]MAXIMIZED or SM_C[X|Y]FULLSCREEN as appropriate to get an appropriate size for your window. Do not exceed the size specified by SM_C[X|Y]SCREEN. This is especially important when responding to WM_DISPLAYCHANGE messages.

STATUS

This behavior is by design.


Additional reference words: 4.00
KBCategory: kbui kbprb
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 7, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.