Angel Posted November 12, 2004 Posted November 12, 2004 Hi, we have a GUICtrlSetData that we can use to set the text in an edit or input box or to set the elements of a combo box. But do we have a mean to get the elements of a combo box? I don't think that there is a GUICtrlGetData or something equivalent. Did I miss something? Angel
SlimShady Posted November 12, 2004 Posted November 12, 2004 (edited) Use this:$CB_GETCOUNT = 0x00000146 $Count = GUISendMsg($combo, $CB_GETCOUNT, 0, 0)Replace $combo with the variable you gave the combo control.The Windows API has many features and functions.You access some of them using the GUISendMsg() function.There are 2 websites you need to retrieve info with GUISendMsg.MSDN - Windows Controls and the hex values of the API variables, here Edited November 12, 2004 by SlimShady
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