win32ui.CreatePrintDialog argument question

H

Howard Lightstone

I am trying to use the CreatePrintDialog routine to initialize a device
context for the (default) printer but ..... I can't figure out the
arguments.

win32ui.CreatePrintDialog

The first argument is "idRes: the ID of the dialog resource to load"

What IS this? There doesn't seem to be any information about it in
PythonWin documents and the MFC class underlaying it doesn't have this
argument. The routine wants an integer but *simple* integers like 0, 1,
etc. don't do anything except give a "LoadResourceEx" error message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top