Dear Rose,
you can get the window number this way. No
need for private APIs:
#include <objc/objc.h>
int GetNSWindowNumber( void* inNSWindow )
{
int number = -1;
SEL sel = sel_registerName("windowNumber");
if( sel )
number = objc_msgSend( inNSWindow, sel );
return number;
}
Cheers,
Tomas Zahradnicky
On Jan 11, 2007, at 19:44 , Rosemary Quince wrote:
Is it possible to obtain the NSWindow
windowNumber from Carbon? If
so, how?
_______________________________________________
Do not post admin requests to the list.
They will be ignored.
Help/Unsubscribe/Update your Subscription: