TE Edit Control Win32 / Win64 Help
Product page

TerRegisterMsgCallback

Register a message callback process.

BOOL TerRegisterMsgCallback(hWnd, MsgCallback)
HWND hWnd;The handle of the text window to be accessed
MSG_CALLBACK MsgCallback;The callback process in your application to receive the editor messages.

Description: Your application can use this call to setup a message callback function. When such a function is registered, the editor messages are routed to this function.

Return Value: This function returns TRUE when successful.

Comments: This function is not available as an ActiveX control method. It must be used as a DLL function.