win32ui.CreatePrintDialog argument question

Howard Lightstone howard at eegsoftware.com
Sat Jun 28 18:08:27 EDT 2003


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.




More information about the Python-list mailing list