Article View: comp.windows.ms.programmer
Article #2708Window Handles: what's real?
From: Whiteside S D B
Date: Fri, 17 May 1991 09:25
Date: Fri, 17 May 1991 09:25
14 lines
1047 bytes
1047 bytes
Can anyone clarify this for me? When I use a CreateWindow call, my window's message function gets called with one of the parameters being hWnd. When the CreateWindow call returns it gives me the hWnd for the window just created. BUT... these two handles are different! Which is the real one? I've tried both, and both seem to work. Why does a window need TWO handles?!! Thanks in advance, Simon Whiteside
Technical Details
Message-ID:
<5175@servax0.essex.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!olivea!uunet!mcsun!ukc!stl!servax0!sersun1!whisdReferences:
<108350001@hplred.HP.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!olivea!uunet!mcsun!ukc!stl!servax0!sersun1!whisd From: whisd@sersun1.essex.ac.uk (Whiteside S D B) Newsgroups: comp.windows.ms.programmer Subject: Window Handles: what's real? Summary: Why are there two incarnations of a window's handle? Keywords: windows, microsoft, handle Message-ID: <5175@servax0.essex.ac.uk> Date: 17 May 91 09:25:48 GMT References: <108350001@hplred.HP.COM> Sender: news@servax0.essex.ac.uk Reply-To: whisd@essex.ac.uk (Whiteside S D B) Organization: University of Essex, Colchester, UK Lines: 14