Query

ACCPAC Common Controls

AccpacPrintSetup.Query

Displays the local Windows printer setup dialog that allows the user to select printer settings.

Function Query(hWnd As Long) As Boolean

Parameters

hWnd

[in] window handle of the caller

Return Value

Returns whether printer settings have been changed by the user.

Remarks

If Query returns TRUE, the Save method should be called to save the changes for the current user.

The AccpacPrintSetup object should only be accessed when ACCPAC is running locally (when the associated AccpacSession object's IsRemote property is FALSE).