| || |
| || |
Join Date: Dec 2007
Re: Pop a banner each time Windows Boots
Other functions are to display messages of type popup, Issues a menu of choices or a dialog box with which the player can enter a number, a string or a reference color or file name:
show_message (str) Displays a dialog box with a message defined in the chain str.
show_message_ext (str, purpose1, but2, but3) Displays a dialog box with a message string str and up to three buttons. Purpose1, but2 and but3 contain the button text. An empty string means that the button will not be displayed. In the text, you can use the symbol & which indicates that the next character will be used as a shortcut for this button. The function returns the number of the button pressed (0 if key Esc has been pressed).
show_question (str) Displays a question. Returns true if the user answered yes and false otherwise.
get_integer (str, def) Request a number to the player using a dialog box. str corresponds to the message. def is the number displayed by default.
get_string (str, def) Request a string player with a dialog box. str corresponds to the message. def is the value displayed by default.
message_background (back) Determines the background image for pop-up box and all the features seen previously. back must be one set of backgrounds in the game if back is partially transparent, so Is The picture message (only for Windows 2000 or later).