Re: Getting Combo Box Drop Down Button hWnd?
- Posted by Al Getz <Xaxo at aol.com> Jun 11, 2005
- 563 views
Derek Parnell wrote: > > Al Getz wrote: > > [snip] > > > I'm using a similar method but because i was worried about the user > > of the lib wanting to use GWL_USERDATA i used an alternate method > > for controls which didnt require exclusive setting of each id, > > One of the changes I'm bringing to win32lib is to use Window Properties > instead of > the User Data field. > > Look up the SetProp, GetProp and RemoveProp API calls. > > > The only thing im wondering now is... if having an id assigned > > to the sub control will add some sort of functionality to the > > lib, in which case i would still seek to assign a private id. > > I guess it doesnt matter that much though... > > Example: For combo boxes, having an ID for the edit area allows users to > easily do > keystroke processing. > > -- > Derek Parnell > Melbourne, Australia > irc://irc.sorcery.net:9000/euphoria > Hi again Derek, I had considered using Windows Properties API's but decided that because they use string values that they would add an unnecessary delay to looking up the id's, and using ATOM's would muddie up the processing and probably cause a delay also. I still like your hashing idea and may turn to that at some point down the road, unless switching to using GetWindowLong exclusively works the way i want it too :) Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"