Brian S wrote: > Robert Purves wrote: > >> PMSessionPrintDialog() is not deprecated in the 10.6 headers. >> It is 32-bit only, like all Carbon UI- and event-related functions (64-bit Carbon code cannot have a UI). >> There seems no special reason to avoid PMSessionPrintDialog(), unless you want to write a Cocoa replacement. > > Thanks Robert. Although not deprecated in the 10.6 headers, Xcode 3.2.4 documentation for PMSessionPrintDialog() clearly marks all items as “legacy” and the “important” note marks it as “obsolete” ( see screen print below ) My point is that there's nothing special about PMSessionPrintDialog(). Your app probably uses CreateWindowFromNib()... <developer.apple.com/legacy/mac/library/#documentation/Carbon/Reference/Interface_Builder/Reference/reference.html> HIViews... <developer.apple.com/legacy/mac/library/#documentation/Carbon/Reference/HIViewReference/Reference/reference.html> RunApplicationEventLoop()... <developer.apple.com/legacy/mac/library/#documentation/Carbon/Reference/Carbon_Event_Manager_Ref/Reference/reference.html> ...and so on... <developer.apple.com/legacy/mac/library/#documentation/Carbon/Reference/Window_Manager/Reference/reference.html> <developer.apple.com/legacy/mac/library/#documentation/Carbon/Reference/Control_Manager/Reference/reference.html> Because you can't avoid all these, there's no special merit in avoiding PMSessionPrintDialog(). Robert P.