TE Edit Control Win32 / Win64 Help
Product page

TerCreateWindowAlt

Alternate method of creating a TER window.

HWND TerCreateWindowAlt(x, y, width, height, IsContained, hParentWnd, styles)
int x;x position of the window in pixel units
int y;y position of the window in the pixel units
int width;width of the window in the pixel units
int height;height of the window in the pixel units
BOOL IsContained;TRUE if this window is to be contained inside another window
HWND hParentWnd;handle of the parent window.
DWORD styles;TER window styles. Please refer to the TER_xxx constants defined in the 'Getting Started' chapter. Set to 0 to use the default styles.

Description: This is a quick method of creating a TER window. For a more elaborate method of creating a TER window, please refer to the CreateTerWindow function.

Return Value: This function returns the window handle of the new window. It returns NULL if the window creation fails.

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