DM_SETCOMBOBOXEVENT
Messages
|
Dialog API
The
DM_SETCOMBOBOXEVENT
message allows to control the sending of
DN_KEY
or
DN_MOUSEEVENT
events for an open
DI_COMBOBOX
.
Param1
ID of a
DI_COMBOBOX
.
Param2
Param2
is a combination of the following flags (
FARCOMBOBOXEVENTTYPE
enum):
Flag
Description
CBET_KEY
Enable
DN_KEY
events
CBET_MOUSE
Enable
DN_MOUSEEVENT
events
Return
Previous state.
Controls
Control
Description
DI_COMBOBOX
combined list
Remarks
By default, the
DN_KEY
and
DN_MOUSEEVENT
events are not sent for an open
DI_COMBOBOX
.
Example
See also:
DM_GETCOMBOBOXEVENT