nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Length of Window extra bytes.
From: Chris Johns
Date: Mon, 17 Jan 2000 18:22:01 +1100

Hi,

I am writing a wrapper for C++ to ease the development of a C++ program.
I would like to place the object pointer for the object which owns the
hwnd handle into the window structure to allow a fast fetch of it given
a hwnd using GetWindowLong ().

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)

Regards

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

-- 
 Chris Johns, mailto:ccj@acm.org

nanogui@linuxhacker.org