From: anorland AT hem2 DOT passagen DOT se (Anders Norlander) Subject: Re: Gnu-Win32 Question -- EGCS-Mingw32(1.0.2) 20 Oct 1998 11:58:41 -0700 Message-ID: <362C28C5.73458E7B.cygnus.gnu-win32@hem2.passagen.se> References: <199810190914 DOT CAA00870 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: pgarceau AT teleport DOT com Cc: gnu-win32 AT cygnus DOT com Hi Paul, it is missing from the gnu-win32 headers but it is equiavalent to (HMODULE)GetWindowLong(hwnd,GWL_HINSTANCE) or GetModuleHandle(NULL) the window is owner by your process, in that case you can also use the hInstance parameter of WinMain. Paul Garceau wrote: > > Hi folks, > > Was just trying to build a win32 app I pulled out "Win32 Programming" > (last printing april 1998), publisher: Addison-Wesley. > > The book references the following macro: > > GetWindowInstance(hwnd) > > Does anyone happen to know what the equivalent Gnu-Win32 version of > this macro might be? > > Thanks for your time on this. > > Peace, > > Paul G. > > Information Systems Consultant > NewDawn Productions > http://www.teleport.com/~pgarceau/newdawn/ > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request AT cygnus DOT com" with one line of text: "help". - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".