nanogui: Length of Window extra bytes.


Previous by date: 17 Jan 2000 15:53:11 -0000 Length of Window extra bytes., Chris Johns
Next by date: 17 Jan 2000 15:53:11 -0000 Re: Length of Window extra bytes., Chris Johns
Previous in thread: 17 Jan 2000 15:53:11 -0000 Length of Window extra bytes., Chris Johns
Next in thread: 17 Jan 2000 15:53:11 -0000 Re: Length of Window extra bytes., Chris Johns

Subject: Re: Length of Window extra bytes.
From: "Greg Haerr" ####@####.####
Date: 17 Jan 2000 15:53:11 -0000
Message-Id: <000c01bf6101$65b0a440$15320cd0@gregh>

: I would like to use the extra data in the window structure and
: specifically the end of the extra bytes. For this I need the length of
: the extra bytes. Can I get it from a function or can I add a macro ?
: 
: eg:
: 
: #define GetExtraBytesLen(hwnd) ((int)(hwnd)->nextrabytes)

Chris - The doc'd API way to do this is thru GetClassInfo, but
that's not implemented yet.  You can use your macro, but,
remember that the extra bytes are always allocated at window
create time, so it doesn't really matter where in the extra bytes
you store your data, since it's a fixed size.




: 
: ps: I have implemented support for the OS's number of fd's. You can also
: select on read, write and except.

Send your changes if you want them integrated  ;-)

Regards,

Greg




Previous by date: 17 Jan 2000 15:53:11 -0000 Length of Window extra bytes., Chris Johns
Next by date: 17 Jan 2000 15:53:11 -0000 Re: Length of Window extra bytes., Chris Johns
Previous in thread: 17 Jan 2000 15:53:11 -0000 Length of Window extra bytes., Chris Johns
Next in thread: 17 Jan 2000 15:53:11 -0000 Re: Length of Window extra bytes., Chris Johns


Powered by ezmlm-browse 0.20.