Re: Getting Combo Box Drop Down Button hWnd?
- Posted by Al Getz <Xaxo at aol.com> Jun 10, 2005
- 561 views
Derek Parnell wrote: > > Al Getz wrote: > > Im trying to change the internal id of the button control...something > > that has been very successful with the two other controls that are > > contained within the ComboBox control. > > By changing the internal id's i can get the id of my controls very > > quickly, rather than have to search through a possible long list of > > hWnds. > > Rather than stuff around like this, why not just create a hash value from the > hWnd > and use that to scan a tiny list instead? I'm sure that will take much less > time to > do. > > -- > Derek Parnell > Melbourne, Australia > irc://irc.sorcery.net:9000/euphoria > Hi there Derek, Oh yes, very good idea! If i cant find this within the next day or so i'll do that. Luckily it wont be hard to convert my lib to do that and i think it would be pretty fast to search a small list like you said so the overhead time shouldn't add much of a delay. BTW, what method is WinLib currently using to get ID's from hWnd's? Thanks for the idea, and take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"