Re: Getting Combo Box Drop Down Button hWnd?
- Posted by Bernie Ryan <xotron at bluefrog.com> Jun 08, 2005
- 568 views
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" > Al: You can use the GetDlgItem function with any parent-child window pair, not just with dialog boxes. As long as the hDlg parameter specifies a parent window and the child window has a unique identifier (as specified by the hMenu parameter in the CreateWindow or CreateWindowEx function that created the child window), GetDlgItem returns a valid handle to the child window. Bernie My files in archive: w32engin.ew mixedlib.e eu_engin.e win32eru.ew Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan