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



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0
  • Microsoft Windows Software Development Kit (SDK) 3.1

This article was previously published under Q76365

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.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbComboBox kbCtrl kbprb KB76365