PM_DoPrintTableContents

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

Const.PM_DoPrintTableContents

Applications and the framework send the Const.PM_DoPrintTableContents message to table objects to print contents.

Applications can override this message to control standard popup-menu item "Print Contents".

Parameters

Name Description
nWhat = wParam Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute, Const.METHOD_GetType
hWndTbl = SalNumberToWindowHandle(Sys.lParam) Window handle of table to print.

Returns

When nWhat = Const.METHOD_Inquire, the return value is TRUE if datasource is not empty, FALSE otherwise.

When nWhat = Const.METHOD_Execute: the return value is TRUE if function succeed, FALSE otherwise.