Hi,

IIRC, calling winID should give you the NSView and you can call window on it to get the NSWindow contained.

Hope it helps.