Subject: RE: Set/GetWindowLong doesn't seem work
From: [email-masked] (Karl Martin Syring)

11 Feb 1998 23:09:08 -0800
Message-ID: <[email-masked]>
Reply-To: "[email-masked]"
	 <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: "'Benjamin Riefenstahl'" <[email-masked]>,
        GNU-Win32 Mailing list
	 <[email-masked]>

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:[email-masked]]
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 ([email-masked])
Crocodial Communications EntwicklungsGmbH
Ophagen 16a, D-20257 Hamburg, Germany

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".