nanogui: Length of Window extra bytes.
Subject:
Length of Window extra bytes.
From:
Chris Johns ####@####.####
Date:
17 Jan 2000 07:32:25 -0000
Message-Id: <3882C319.CF9B4FE2@acm.org>
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, ####@####.####