TerSelectPrint
Print the selected text.
BOOL TerSelectPrint(hWnd)
HWND hWnd; | The handle of the window to be accessed. |
Description: This function extracts the selected text and uses the TerMergePrint function to print it to the current printer. Since this function creates a temporary buffer for the selected text, it is not efficient for huge text selection.
Return Value: This function returns TRUE when successful.