Microsoft KB Archive/111335

From BetaArchive Wiki

BUG: SetWindowPos() on an Iconic Window and its Caption

Q111335



The information in this article applies to:


  • Microsoft Windows Software Development Kit (SDK) 3.1





SYMPTOMS

SetWindowPos() is called on a minimized window to either move or hide the window. When moving, the window is moved but the caption is left behind. When Hiding, the window is hidden but the caption is still visible.



RESOLUTION

Use SetWindowPlacement() instead of SetWindowPos().



STATUS

Microsoft has confirmed this to be a bug in Windows version 3.1.

Additional query words:

Keywords : kb16bitonly kbGrpDSUser kbOSWin310bug kbWndwProp
Issue type : kbbug
Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK310


Last Reviewed: November 12, 1999
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.