discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MS Windows && HWND of mainWin


From: Adam Fedor
Subject: Re: MS Windows && HWND of mainWin
Date: Wed, 8 Jun 2005 09:03:23 -0600


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]