[Plib-users] ComboBox Problems
Brought to you by:
sjbaker
From: Brian S. <sch...@ho...> - 2004-05-04 04:24:39
|
I am having a little problem with all of the selection objects (puaComboBox, selectbox, buttonBox). I have posted this before but no one replied to me, hoping maybe you can help. I declare the pointer in the header file. Here is where I set the combo box and start to use it: char *listOne[] = { "First Entry", "Second Entry", "Third Entry", "Fourth Entry", "Fifth Entry", "Sixth Entry", NULL } ; choiceOne = new puaComboBox(30, 400, 230, 425, listOne, FALSE); choiceOne->setCallback(ChoiceOneCallback); I have all of the necessary callbacks for keyboard and mouse. You can click on the combobox and the menu drops down, however you can't select anything. If you use the up arrow on the keyboard (or down whichever) the program will crash. However I have displayed that the combo box does have six items in it. I think I have narrowed it down to the callback function for the combobox, it never enters in there when something is selected: void MainChoiceOneCallback(puObject *) { cout<<"HELLLOOOOOOOOO"; } this will display nothing. I have also tried changing the list for the combobox within the callback and it doesn't change the display at all. So my question is why is it not entering the callback, is it a bug with pui/puAux or is it my doing?? Thank you in advance. -Brian _________________________________________________________________ Getting married? Find tips, tools and the latest trends at MSN Life Events. http://lifeevents.msn.com/category.aspx?cid=married |