Angel 1 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 Share this post Link to post Share on other sites
SlimShady 1 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 Share this post Link to post Share on other sites