Omnimaga
Calculator Community => TI Calculators => Calculator C => Topic started by: moldysquirrel on June 03, 2011, 01:20:14 am
-
Hi, i'm pretty new to C itself, but adapt and understand complex computer languages quickly and would like to know a little bit more on message boxes. I have seen in the samples how you make a title and the inner text, but how do I add a drop down menu so one line of the msgbox would look like this, "Press box and select item: BOX{item1,item2,item3}. Also how do you ad checkmark boxes as well as buttons such as OK and Cancel at the bottom?
another question, How could I trigger this message box by pressing buttons such as CTRL+TAB?
thanks
-
I have seen in the samples how you make a title and the inner text, but how do I add a drop down menu so one line of the msgbox would look like this, "Press box and select item: BOX{item1,item2,item3}. Also how do you ad checkmark boxes as well as buttons such as OK and Cancel at the bottom?
One cannot do that with this simple message box, AFAICT.
How could I trigger this message box by pressing buttons such as CTRL+TAB?
You need to periodically poll the keyboard, i.e. check for those keys being pressed together. Check the source of other Ndless-based C programs :)