|
of_printdlg
|
|
Full name
|
pfc_n_cst_platformwin32.of_printdlg
|
Access
|
public
|
Extend of
|
long
|
Return value
|
long
|
Prototype
|
public function long of_printdlg(ref s_printdlgattrib,window)
|
Name
|
Datatype
|
ll_hwnd
|
long
|
public function long of_printdlg (ref s_printdlgattrib astr_printdlg, window aw_obj);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_PrintDlg
//
// Access: public
//
// Arguments:
// astr_printdlg: printdlg structure passed by ref
// aw_obj: window that is opening the print dialog
//
// Returns: long
// 1 = success
// -1 = error or user cancelled from print dialog
//
// Description: Opens the print dialog
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
long ll_hwnd
ll_hwnd = handle (aw_obj)
if ll_hwnd = 0 then
return -1
end if
return pfc_printdlg (ll_hwnd, astr_printdlg)
end function