EM QUERYFIRSTCHAR
Appearance
This message returns the zero-based offset of the first character visible at the left edge of an entry-field control.
Syntax
param1 ULONG ulReserved; /* Reserved value, should be 0. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- ulReserved (ULONG) - input
- Reserved value, should be 0.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- sOffset (SHORT) - return
- Zero-based offset.
Remarks
The entry field control window procedure responds to this message by returning the zero-based offset into the text that corresponds to the first character displayed in the entry field control.
Default Processing
The default window procedure does not expect to receive this message and therefore takes no action on it, other than to set sOffset to the default value of 0.