This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Set/GetWindowLong doesn't seem work
- To: "'Benjamin Riefenstahl'" <benny at crocodial dot de>, GNU-Win32 Mailing list <gnu-win32 at cygnus dot com>
- Subject: RE: Set/GetWindowLong doesn't seem work
- From: Karl Martin Syring <syring at pollux dot edv dot agrar dot tu-muenchen dot de>
- Date: Wed, 11 Feb 1998 21:58:24 +0100
- Organization: Munich University of Technology
- Reply-To: "syring at pollux dot edv dot agrar dot tu-muenchen dot de" <syring at pollux dot edv dot agrar dot tu-muenchen dot de>
No, the docs faded from my memory.
The reason for the confusion was, that I have used something like
SetWindowLong(hwnd,GWL_USERDATA, (LONG) pData);
to store instance specific data. This long word is always available and one
can safely set cbWndExtra to zero. You can obtain a news message related to the
problem from
http://x9.dejanews.com/getdoc.xp?AN=313205090&CONTEXT=887229748.706412866
Regards
Karl
-----Original Message-----
From: Benjamin Riefenstahl [SMTP:benny@crocodial.de]
Sent: Tuesday, February 10, 1998 12:07 PM
To: GNU-Win32 Mailing list
Subject: Re: Set/GetWindowLong doesn't seem work
Karl Martin Syring wrote:
> cbWndExtra is declared as an int in the MS header, so there is no space to
> reserve. Usually it it used as a pointer to the window specific data
> structures.
No. Read the docs.
[] <snip>
======================================
Benjamin Riefenstahl (benny@crocodial.de)
Crocodial Communications EntwicklungsGmbH
Ophagen 16a, D-20257 Hamburg, Germany
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".