質問

How do I create this custom print dialog and get the values of the red options when the user clicks ok?

The print dialog below is not created manually, the app I took this screenshot from is probably modifying the default print dialog.

The items circled in red is associated with some data found in the app I took the screenshot from.

The class name of this dialog is #32770 (Dialog) which is the same print dialog found in notepad, wordpad, and vb6 common dialog print. So it is clear that it is modifying the dialog, adding controls to it somehow

custom print dialog

役に立ちましたか?

解決

You could look at Customizing Common Dialog Boxes but don't expect this to be simple from VB6. it is clumsy enough in C++.

You could just create your own dialog Form.

Update:

Perhaps consider using the download in HOW TO: Raise and Control Print Dialog Boxes from Visual Basic?

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top