PRB: Taskbar Anomolies When Application Larger Than the Screen (142166)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0

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.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbprb kbWndw kbWndwProp KB142166