Set/GetWindowLong doesn't seem work

Karl Martin Syring syring@pollux.edv.agrar.tu-muenchen.de
Wed Feb 11 17:42:00 GMT 1998


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".



More information about the Cygwin mailing list