[This is preliminary documentation and subject to change.]
The PrintDlgEx function calls the SelectionChange method when the user selects a different printer from the list of installed printers on the General page of the Print property sheet.
HRESULT SelectionChange();
None.
Return S_OK to prevent the PrintDlgEx function from performing its default actions.
Return S_FALSE to allow PrintDlgEx to perform its default actions, which include adjustments to the Copies, Collate, and Print Range items.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in commdlg.h.
Common Dialog Box Library Overview, IPrintDialogCallback, PrintDlgEx