Problem with Combox

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Vinetu
Posts: 27
Joined: Wed Apr 07, 2004 6:57 am
Location: Lithuania
Contact:

Problem with Combox

Post by Vinetu »

Hello all,

I have problem with Combox. First when I get it:

Code: Select all

gui::IGUIComboBox* StockBox = env->addComboBox(
		core::rect<s32>(10,420,60,440),0, 400);
	StockBox->addItem(L"Red");
        StockBox->addItem(L"Blue");
I don't know how to do that item "Red" or "Blue" will react when they are selected them.
So question will be how to do that items react when they are selected?

Sorry for my bad english I'm not native English speaker. I wish you understand my question.
"Teach yourself DISCIPLINE."

Your sincerely,
Saulius Šunauskas
Post Reply