delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/20/07:16:30

From: lhall AT rfk DOT com (Larry Hall RFK Partners Inc)
Subject: Re: Gnu-Win32 Question -- EGCS-Mingw32(1.0.2)
20 Oct 1998 07:16:30 -0700 :
Message-ID: <3.0.5.32.19981019173253.00afa3c0.cygnus.gnu-win32@pop.ma.ultranet.com>
References: <199810190914 DOT CAA00870 AT cygnus DOT com>
Mime-Version: 1.0
To: pgarceau AT teleport DOT com, gnu-win32 AT cygnus DOT com

At 02:17 AM 10/19/98 -0700, 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/


Its defined as:

#define     GetWindowInstance(hwnd) ((HMODULE)GetWindowLong(hwnd, 
                                                            GWL_HINSTANCE))
#define GWL_HINSTANCE       (-6)

in MSVC...


Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02482-7797               http://www.rfk.com
-
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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019