TE Edit Control Win32 / Win64 Help
Product page

TerSetFrameMarginDist

Set the frame margin distance.

BOOL TerSetFrameMarginDist(hWnd,dist)
HWND hWnd;The handle of the window to be accessed
int dist;The frame margin distance in twips unit (default 1440 twips)

Description: The dist argument controls the minimum distance between a frame and the left or right margin at which the text starts flowing around the frame.

Return Value: This function returns TRUE when successful.