DM_GETCURSORPOS
Messages
|
DM_SETCURSORPOS
|
Dialog API
The
DM_GETCURSORPOS
message is sent to the dialog handler to retrieve the cursor position in edit lines or
DI_USERCONTROL
item.
Param1
The ID of the dialog item for which you want to retrieve the cursor position.
Param2
Pointer to a
COORD
structure where dialog manager will place information about cursor position (COORD.Y = 0 for line editor).
Return
FALSE is returned if the given ID does not specify an edit control or
DI_USERCONTROL
item.
TRUE is returned when
COORD
contains cursor position.
Controls
Control
Description
DI_COMBOBOX
combined list
DI_EDIT
edit line
DI_FIXEDIT
fixed-size input field
DI_PSWEDIT
password input field
DI_USERCONTROL
custom (defined by programmer) control
Remarks
Example
See also:
DialogEx
|
DM_SETCURSORPOS
|