Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
Blam::DialogHelpers::ComboBox Namespace Reference

Helpers relating to a ComboBox control. More...

Functions

BLAM void AddItemToComboBox (HWND hDlg, int control_id, char *item, int value)
 Adds an item to the specified ComboBox control. More...
 
BLAM void SetComboBoxSelectedItem (HWND hDlg, int control_id, char *item)
 Change the selected item in a ComboBox. More...
 

Detailed Description

Helpers relating to a ComboBox control.

Function Documentation

◆ AddItemToComboBox()

void Blam::DialogHelpers::ComboBox::AddItemToComboBox ( HWND  hDlg,
int  control_id,
char *  item,
int  value 
)

Adds an item to the specified ComboBox control.

Parameters
hDlg- The dialog containing the control.
control_id- The control of the ComboBox.
item- The name of the item to add to the ComboBox.
value- The value to apply to the ComboBox item.

◆ SetComboBoxSelectedItem()

void Blam::DialogHelpers::ComboBox::SetComboBoxSelectedItem ( HWND  hDlg,
int  control_id,
char *  item 
)

Change the selected item in a ComboBox.

Parameters
hDlg- The dialog containing the control.
control_id- The control of the ComboBox.
item- The name of the item to select.