PRB: Moving or Resizing the Parent of an Open Combo Box

ID: Q76365


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Windows Software Development Kit (SDK) 3.1
  • Microsoft Windows 2000


SYMPTOMS

When the user resizes or moves the parent window of an open drop- down combo box, the list box portion of the combo box does not move.


CAUSE

The list box portion of the combo box does not receive a move message. Therefore, it remains on the screen at its original position.


RESOLUTION

Close the drop down list before the combo box is moved. To perform this task, during the processing of the WM_PAINT message, send the combo box a CB_SHOWDROPDOWN message with the wParam set to FALSE.

Additional query words: combobox

Keywords : kbComboBox kbCtrl kbNTOS kbWinOS2000 kbSDKWin32 kbGrpUser kbWinOS
Version : WINDOWS:3.1
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: January 27, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.