User manual - GUIライブラリマニュアルver.1.01(2012年3月29日)
27
3.2.15 CpPrintDlg
[プリンタ選択]ダイアログボックスを表示します。
[C++]
int CpPrintDlg (
HWND
hwnd
,
LPHANDLE
lphPrinter
,
LPCPDEVMODE
lpdmOutput
,
LPTSTR
lpszPrinter
,
LPTSTR
lpszPort
)
[Visual Basic]
Declare Function CpPrintDlg(
ByVal
hwnd
As Int32, _
ByRef
lphPrinter
As Int32, _
ByVal
lpdmOutput
As Cp780LibVB.CPDEVMODE, _
ByVal
lpszPrinter
As String, _
ByVal
lpszPort
As String
) As Int32
[C#]
Int32 CpPrintDlg (
Int32
hwnd
, _
Int32
lphPrinter
, _
CalibCs.Cp780LibCS.CPDEVMODE
lpdmOutput
, _
String
lpszPrinter
, _
String
lpszPort
)
解説
本関数は、[プリンタ選択]ダイアログボックスを表示します。
ユーザは[プリンタ選択]ダイアログボックスを使用して、プリンタの選択、ポートの選択とプリ
ンタのプロパティを設定することができます。
パラメータ
hwnd
ダイアログボックスを表示する親ウィンドウハンドルを指定します。
lphPrinter
オープンしたプリンタのハンドルを指定します。