TE Edit Control Win32 / Win64 Help
Product page

TerSetPrintPreview

Allocate or deallocate print preview resources.

BOOL TerSetPrintPreview(hWnd, begin)
HWND hWnd;Window handle to access
BOOL begin;TRUE to allocate print preview resources, and FALSE to deallocate them.

Description: This function can be called before and after calling the TerPrintPreview function to increase the print preview performance.

Return Value: This function returns TRUE when successful.