delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/11/23:09:08

From: syring AT pollux DOT edv DOT agrar DOT tu-muenchen DOT de (Karl Martin Syring)
Subject: RE: Set/GetWindowLong doesn't seem work
11 Feb 1998 23:09:08 -0800 :
Message-ID: <01BD3738.2D830760.cygnus.gnu-win32@syringpollux.edv.agrar.tu-muenchen.de>
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>
Mime-Version: 1.0
To: "'Benjamin Riefenstahl'" <benny AT crocodial DOT de>,
GNU-Win32 Mailing list
<gnu-win32 AT cygnus DOT com>

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 AT crocodial DOT 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 AT crocodial DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019