Table of Contents

combosel_SetCurSel

Description

Set the option in a combination selector window (VarID_combosel) that will be selected when the window is shown.

Function prototype

bool CExtAPI::combosel_SetCurSel(ZVAR hComboSel, const char* lpCurSelStr);

Arguments

Name Type Comment
hComboSel ZVAR A ZVAR handle of type VarID_combosel.
lpCurSelStr const char* A pointer to a C-style string, containing the name of the option to be selected.

Return value

False if an error occurred, and true otherwise.

Comments

None.