TE Edit Control Win32 / Win64 Help
Product page

SetTab

Set a tab position:

BOOL SetTab(hWnd, TabType, TabPos, repaint)
HWND hWnd;The handle of the window to be accessed
int TabType;Tab type: TAB_LEFT, TAB_RIGHT, TAB_CENTER, TAB_DECIMAL
int TabPos;Tab position (in twips unit) to create
BOOL repaint;Repaint the window after this operation

Description: Use this function to create one tab position.

Note: This function will be eventually discontinued in favor of the TerSetTab function.

Return Value: This function returns TRUE if successful.