Re: Win32lib additions [3]
- Posted by Derek Parnell <ddparnell at bigpond.com> May 29, 2003
- 410 views
----- Original Message ----- From: <euman at bellsouth.net> To: "EUforum" <EUforum at topica.com> Subject: Win32lib additions [3] Hello again Derek, Could you change this in Win32lib? make [window_handle] a global sequence -- controls global sequence window_handle -- hwnd of controls sequence window_handle_type, -- Type of handle window_destroyed, -- true if destroyed --etc...etc ------------ Derek replies.... Absolutely NOT! This is against good programming practices as it opens up the library to changes that it cannot control. If you need access to the values in this fields, you can ALREADY do that by calling the getControlInfo() routine. lValues = getControlInfo(myWin, {CONTROLINFO_handle, CONTROLINFO_handle_type, CONTROLINFO_destroyed }) will return a sequence containing the three requested values. However, if you just want the handle info you can use the (undocumented) getHWND(id) function. Or the function getHandles() to get every handle that win32lib has. I will not expose anymore variables as global - there are too many already exposed. ------- Derek.