Microsoft KB Archive/142166

{|
 * width="100%"|

PRB: Taskbar Anomolies When Application Larger Than the Screen

 * }

Q142166

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK)

-

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 query words:

Keywords : kbAppToolBar kbOSWinNT400 kbOSWin2000 kbSDKWin32 kbGrpDSUser kbOSWin95 kbOSWin98 kbWndw kbWndwProp kbGrpDSShell

Issue type : kbprb

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch