Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Anomalous behaviour of 'GetSheetWindowParent'



'AppUsingSheets' is an example of an application supporting document-model (sheet) printing dialog. So I'd expect 'GetSheetWindowParent' to return the document window's WindowRef when presented with 'GetControlOwner(userPane)' [which I would expect to be the sheet's WindowRef].

Guess what? It returns 'noErr' as a function result, but NULL as a 'WindowRef'! Any explanation, or am I misunderstanding something?

Michael

--
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.