Re: Getting Combo Box Drop Down Button hWnd?
- Posted by Al Getz <Xaxo at aol.com> Jun 08, 2005
- 568 views
jacques deschĂȘnes wrote: > > Al Getz wrote: > > > > > > Hello, > > > > > > Anyone have any luck getting the hWnd to the drop down button in a > > drop down ComboBoxEx32 class combobox? > > I've gotten the other control's hWnd's pretty easy but this one is > > a little elusive. > > I'm pretty sure it was discussed before somewhere on here. > > > > > > Take care, > > Al > > > > And, good luck with your Euphoria programming! > > > > My bumper sticker: "I brake for LED's" > > > > Hello Al, > I'm just guessing, but maybe the drop down button is a child of a child > control > it is over the edit control, so maybe it is a child of the edit control. > So if you got the handle of the edit control, you may try to enumerate the > children > of that edit control. > > regards, > Jacques DeschĂȘnes > Hi Jacques, That sounded like a good guess so i tried it but it doesnt seem to work either Of course first i enum child windows of the hCBox and that gives me two to work from, but neither provides any new hWnd's on enumerating their 'childs' (if any). I've already proved that this hWnd does in fact exist and that it gets an 'internal' id assigned by Windows. ChildWindowFromPoint doesnt work either, unless you're only after the edit control hWnd. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"