EMWIN 不是有相关的API 吗
void EDIT_SetSel(EDIT_Handle hObj, int FirstChar, int LastChar);
EDIT_SetSel(hEdit, 0, -1); // Selects all characters of the widget
EDIT_SetSel(hEdit, -1, 0); // Deselects all characters
EDIT_SetSel(hEdit, 0, 2); // Selects the first 3 characters
void EDIT_SetCursorAtChar(EDIT_Handle hObj, int xPos);
EMWIN 不是有相关的API 吗
void EDIT_SetSel(EDIT_Handle hObj, int FirstChar, int LastChar);
EDIT_SetSel(hEdit, 0, -1); // Selects all characters of the widget
EDIT_SetSel(hEdit, -1, 0); // Deselects all characters
EDIT_SetSel(hEdit, 0, 2); // Selects the first 3 characters
void EDIT_SetCursorAtChar(EDIT_Handle hObj, int xPos);
举报