Defines whether a mouse click that hides the dropdown portion is also processed by the window under the mouse cursor.
C
BOOL WINAPI SftBox_GetProcessMessage(HWND hwndCtl); void WINAPI SftBox_SetProcessMessage(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftBox::GetProcessMessage() const; void CSftBox::SetProcessMessage(BOOL fSet);
hwndCtl
The window handle of the combo box control.
fSet
Set to TRUE if a mouse click that hides the dropdown portion is also processed by the window under the mouse cursor. Set to FALSE to discard the mouse click once the dropdown portion has been hidden.
GetProcessMessage returns TRUE if a mouse click that hides the dropdown portion is also processed by the window under the mouse cursor, otherwise FALSE is returned.
The GetProcessMessage and SetProcessMessage functions define whether a mouse click that hides the dropdown portion is also processed by the window under the mouse cursor.
While the dropdown portion of a dropdown combo box or dropdown list combo box is shown, a mouse click outside of the combo box hides the dropdown portion. If fSet is FALSE, this mouse click is discarded. The user has to click again to use the window under the mouse cursor. If fSet is TRUE, the mouse click is also sent to the window under the mouse cursor, so one mouse click hides the dropdown portion and, for example, pushes a button. By default, the mouse click is discarded.
A simple combo box always shows its dropdown portion, so this setting has no effect.
See Also C/C++ API | Categories | Notifications