PRB: Taskbar Anomolies When Application Larger Than the Screen
Article ID: 142166
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition
This article was previously published under Q142166
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.
Keywords: kbwndwprop kbwndw kbprb KB142166