Advertisement
6_2008-2009 Windows API Call/ Explanation #203069

Show Printer Document Properties setup dialog

Shows the printer document properties dialog box from code.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Public Sub DisplayDocumentDefaults(ByVal PrinterName As String, ByVal hWnd As Long)
Dim lRet As Long
'\\ Only version 4.71 and above have this :. jump over error
On Error Resume Next
lRet = SHInvokePrinterCommand(hWnd, PRINTACTION_DOCUMENTDEFAULTS, PrinterName, "", 0)

End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine