| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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.
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.