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

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:
    7,080
    Fredrik Lundh
    Jun 27, 2003
  2. EricP
    Replies:
    1
    Views:
    580
    Roger Upole
    Oct 28, 2003
  3. Chris Gonnerman

    win32ui.CreateFont() question

    Chris Gonnerman, Nov 21, 2003, in forum: Python
    Replies:
    0
    Views:
    568
    Chris Gonnerman
    Nov 21, 2003
  4. Corwan
    Replies:
    1
    Views:
    802
    Mark Hammond
    Feb 1, 2004
  5. Miranda Evans

    pywin.mfc, win32ui, Windows common dialogs

    Miranda Evans, May 23, 2004, in forum: Python
    Replies:
    0
    Views:
    865
    Miranda Evans
    May 23, 2004
  6. Darcy Kahle
    Replies:
    2
    Views:
    501
    Michael Foord
    Aug 10, 2004
  7. MsKitty
    Replies:
    3
    Views:
    538
    Thomas Ganss
    Apr 29, 2005
  8. Chris Lambacher

    win32ui CreatePrintDialog

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