win32ui.CreatePrintDialog argument question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Howard Lightstone

    win32ui.CreatePrintDialog argument question

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

    win32ui.CreateP rintDialog

    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.
Working...