Problem with GUI

Started by grissly, Fri 18/06/2004 05:53:08

Previous topic - Next topic

grissly

I managed to make a book with GUI, but i have three problems...
1) How to incorporate Global message into gui (to have specified lenght and so on...)
2) How to close this gui :( i tried to add hide gui after each interaction feature but it doesen't work :( it won't closeÃ,  ??? :(
3) How to "go to another message"
Please HELPÃ,  ;D

TheMagician

Hi.
I don't quite understand 1) and 3).
However I can help with 2): GuiOff(NUM); is the thing to look for in the manual. NUM is the name or number of your book inventory.

Ashen

I think I see what you mean ...

1) GetMessageText() and SetTextBoxText() are probably what you're after. Something like:

      string buffer;
      GetMessageText (500, buffer);
      SetTextBoxText (BOOK, 0, buffer); // or whatever GUI and textbox

3) You need to create a variable to track what 'page' is being displayed, then have 'Previous Page' and 'Next Page' buttons that change that variable. You can probably find a better description of this somewhere else.

Am I on the right track? Hope this was some use, anyway.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk