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

ID: 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 kbGrpUser kbWinOS310bug kbWndwProp
Version : WINDOWS:3.1
Platform : WINDOWS
Issue type : kbbug


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