This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Set/GetWindowLong doesn't seem work


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]