Printing and view bounds

  • Hi,

    When i start printing a view using the normal AppKit simple printing
    achitecture and my view receives a drawRect message, will its bounds
    be set up to the size of the paper or will its bounds still be setup
    to it's size in the window?

    Im asking because i have a view that calculates its layout on frame
    changes. And when i get a print message, i need to recalculate my
    layout in order for it to print correctly. But when printing is done,
    my layout is not good anymore since i recalculated for the print page
    and not the window.

    What do people usually do to print out a view that has complicated
    layout and will not be laid out the same way when printed than on


previous month november 2007 next month
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today