@Team: #GWL_USERDATA

Just starting out? Need help? Post your questions and find answers here.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

@Team: #GWL_USERDATA

Post 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?
BERESHEIT
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post 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.
quidquid Latine dictum sit altum videtur
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post 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:
Post Reply