◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINENTRYFIELDS EM_SETFIRSTCHAR mp1 = MPFROMSHORT((SHORT) ichOffset); /* offset to first character */ mp2 = 0L; /* not used, must be zero */ An application sends an EM_SETFIRSTCHAR message to set the character to be displayed as the first character in an entry-field, scrolling the contents as necessary. Parameter Description ──────────────────────────────────────────────────────────────────────────── ichOffset Low word of mp1. Specifies the offset to the character to place at the left edge of the control. Return Value The return value is TRUE if the operation is successful or FALSE if an error occurs. This message returns FALSE if the edit control does not have the ES_AUTOSCROLL style or if it is centered or right justified. See Also EM_QUERYFIRSTCHAR ♦