Advertisement
7_2009-2012 Windows API Call/ Explanation #225587

Show Printer Document Properties setup dialog

Shows the printer document properties dialog box from code.

AI

Resumo por IA: 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.

Código fonte
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
Comentários originais (3)
Recuperado do Wayback Machine