HeaderPane
Main
Hide
Share Link
Print

RollUpDelayed

Hides the dropdown portion after the specified time.

C

BOOL WINAPI SftBox_RollUpDelayed(HWND hwndCtl, UINT elapse);

C++

BOOL CSftBox::RollUpDelayed(UINT elapse);

Parameters

hwndCtl

The window handle of the combo box control.

elapse

The time, in milliseconds, after which the dropdown portion is hidden.

Returns

The return value is TRUE if the dropdown portion will be hidden after the specified time. FALSE is returned if the dropdown portion is not currently shown or if the combo box is a simple combo box.

Comments

The RollUpDelayed function hides the dropdown portion after the specified time.

RollUpDelayed returns immediately. Once the specified time has elapsed, the dropdown portion is hidden in the same way as with ShowDropDown (with the fShow parameter set to FALSE). The SFTBOXN_CLOSEUP notification is sent when the dropdown portion is hidden.

If a request to hide the dropdown portion is already pending, the new request is ignored and the dropdown portion is hidden once the time of the original request has elapsed.

A pending request is canceled when ShowDropDown is called.

See Also C/C++ API | Categories | Notifications


Last Updated 11/21/2026 - (email)
© 2026 Softel vdm, Inc.