Jump to content

Recommended Posts

Posted

Hi,

currently I am struggling with a problem. :sweating:

I hope someone can help me.

I have a multiple select listbox and want to set a default selection on startup.

_GUICtrlListBox_SetCurSel() does not support multiple select listboxes, does anyone know an alternative method to set a default selection?

Thanks :bye:

Posted

Hi,

You can set the style of your listbox like this :

BitOR($GUI_SS_DEFAULT_LIST, $LBS_EXTENDEDSEL)

And use the _GUICtrlListBox_SetSel function.

Br, FireFox.

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
×
×
  • Create New...