Re: Getting Combo Box Drop Down Button hWnd?
- Posted by Al Getz <Xaxo at aol.com> Jun 10, 2005
- 550 views
Bernie Ryan wrote: > > Al Getz wrote: > > > > Also, there doesnt seem to be any message at all posted until > > something is forced, such as the user clicking the little down > > arrow button. That seems to be the only way to get a message > > from the control, which finally reveals it's hWnd. > > Al: > > Can't use send message to send down-arrow ? > > Bernie > > My files in archive: > w32engin.ew mixedlib.e eu_engin.e win32eru.ew > > Can be downloaded here: > <a > href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan</a> > Hi Bernie, Yes, i think sendmessage will initiate the drop down list after a set focus. The problem with sendmessage directly to the arrow is that we dont know the hWnd beforehand, which is what this is all about. I've discovered something new which i didnt know about when i first posted this question. If i can prove this it might simplify things. I'll try a few experiments and see if this new thing proves out and if so i'll post an update a little later today. If not, well, he he, i guess i'll be trying the sendmessage thing to see how complicated it will get to trap the posted message in real time. Im beginning to wonder something else too though...that is, i wonder just how many ComboBoxes with Dropdown listbox most users will be creating after all...Anyone reading this do an application with a whole lotta' ComboBoxes? (like 100) Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"