Page 1 of 1

@Team: #GWL_USERDATA

Posted: Wed Aug 23, 2006 11:19 pm
by netmaestro
Hello, I'd like to use SetWindowLong_() and GetWindowLong_() to set and retrieve this value for gadgets. Question: Does PureBasic 4.0 use this area internally at all for the gadgets? Or is it safe to use?

Posted: Thu Aug 24, 2006 2:02 am
by freak
We kept this value free for use by the programmer, yes.
(at least in PB4. Version 3.94 made some use of this field)

The WebGadget is the only Gadget that uses this field. It stores the
IWebBrowser2 pointer there, so people can have direct access to it.

Posted: Thu Aug 24, 2006 4:16 am
by fsw
freak wrote:The WebGadget is the only Gadget that uses this field. It stores the IWebBrowser2 pointer there, so people can have direct access to it.
Why not put this information into the documentation :?:
:wink: