TE Edit Control Win32 / Win64 Help
Product page

TerCommand

Execute a TER menu command.

BOOL TerCommand(hWnd, CommandId)
BOOL TerCommand2(hWnd, CommandId, send)
HWND hWnd;Handle of the window to be accessed
int CommandId;Please refer to the 'command' property under the Visual Basic Interface chapter for a list of available command ids.
BOOL send;Set to TRUE to execute the command immediately, or set to FALSE to 'post' the command for delayed execution.

Return Value: This function always returns TRUE.