CygnusX1 Posted March 20, 2008 Share Posted March 20, 2008 Hey, I'm having some trouble getting any of the methods to work with the GuiComboBox Management functions. I'm including the <GuiComboBox.au3> but still no joy. The method wants a handle to the control but always returns zero. MsgBox(0, "", _GUICtrlListBox_GetCount(0x00110AA8)) Any ideas why this wouldn't be working? Thank you. Cygnus. Cygnus Link to comment Share on other sites More sharing options...
rasim Posted March 21, 2008 Share Posted March 21, 2008 Why you trying to retrieves the number of items from ListBox control? Mayb you need this _GUICtrlComboBox_GetCount($hWnd)? And what this (0x00110AA8)? Control handle? Use variable with control handle e.g.$hCombo = _GUICtrlComboBox_Create() MsgBox(0, "", _GUICtrlComboBox_GetCount($hCombo)) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now