Author Topic: msgbox features  (Read 3622 times)

0 Members and 1 Guest are viewing this topic.

Offline moldysquirrel

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
msgbox features
« 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

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: msgbox features
« Reply #1 on: June 03, 2011, 04:27:47 am »
Quote
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.

Quote
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 :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.