Sign in to follow this  
Followers 0
CygnusX1

Any help tips on GuiComboBox Management

2 posts in this topic

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

Share this post


Link to post
Share on other sites



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))

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0