Jump to content

Any help tips on GuiComboBox Management


Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...