PRB: Taskbar Anomolies When Application Larger than the Screen

ID: Q142166


The information in this article applies to:


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          : kbAppToolBar kbNTOS400 kbGrpUser kbWinOS95 kbWinOS98 kbWndw kbWndwProp kbGrpShell 
Version           : 
Platform          : 
Issue type        : kbprb 

Last Reviewed: March 8, 1999