TE Edit Control Win32 / Win64 Help
Product page

ClearTab

Clear one tab stop.

BOOL ClearTab(hWnd, TabPos, repaint)
HWND hWnd;The handle of the window to be accessed
int TabPos;Tab position (in twips unit) to clear
BOOL repaint;Repaint the window after this operation

Description: Use this function to remove a specified tab stop for the selected text.

When a text block is highlighted before calling this function, the selected lines are affected by this function. Otherwise, only the current paragraph is affected by this operation.

Return Value: This function returns TRUE if successful.