win32ui.CreatePrintDialog argument question

Discussion in 'Python' started by Howard Lightstone, Jun 28, 2003.

  1. 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.
     
    Howard Lightstone, Jun 28, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Me Mine

    win32ui screen capture

    Me Mine, Jun 27, 2003, in forum: Python
    Replies:
    3
    Views:
    6,706
    Fredrik Lundh
    Jun 27, 2003
  2. EricP
    Replies:
    1
    Views:
    456
    Roger Upole
    Oct 28, 2003
  3. Chris Gonnerman

    win32ui.CreateFont() question

    Chris Gonnerman, Nov 21, 2003, in forum: Python
    Replies:
    0
    Views:
    458
    Chris Gonnerman
    Nov 21, 2003
  4. Chris Lambacher

    win32ui CreatePrintDialog

    Chris Lambacher, Jul 15, 2005, in forum: Python
    Replies:
    1
    Views:
    336
    Eric Brunel
    Jul 18, 2005
  5. Chris Lambacher

    Re: win32ui CreatePrintDialog

    Chris Lambacher, Jul 18, 2005, in forum: Python
    Replies:
    0
    Views:
    419
    Chris Lambacher
    Jul 18, 2005
Loading...

Share This Page