On Jun 8, 2005, at 4:21 AM, Marc Br�nink wrote:

Hi,

could someone please verify this code. I just want to be sure.

// get the HWND of the main Win
HWND hwnd = (void*)[[NSApp mainWindow] windowNumber];


That would work, just because it happens to be (currently) implemented that way in GNUstep, but it would be better to use -windowHandle not -windowNumber



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to