IPrintDialogCallback::SelectionChange method (commdlg.h)

Called by PrintDlgEx when the user selects a different printer from the list of installed printers on the General page of the Print Property Sheet.

Syntax

HRESULT SelectionChange();

Return value

Type: HRESULT

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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header commdlg.h (include Windows.h)
DLL Comdlg32.dll

See also

Common Dialog Box Library

Conceptual

IPrintDialogCallback

PrintDlgEx

Reference