Mailing Lists: Apple Mailing Lists

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

RE: Anomalous behaviour of 'GetSheetWindowParent'



This is a known issue -- we had the same problem. Carbon apps can get the parent window, but cocoa apps can't. Or was it the reverse? I forget. Apple knows about the problem, but no info regarding a fix.

-----Original Message-----
From: BDJV - Michael Collins
To: email@hidden
Sent: 6/24/2003 2:41 PM
Subject: 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.
_______________________________________________
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.