message.dll 0.2                                     message.txt


General

Message is a LiteStep module that displays a message box and
executes different commands depending on which button the user
clicked.


Installation

Copy message.dll to your Litestep directory and add a line like
the following to your step.rc file:

  LoadModule $LiteStepDir$message.dll

After recycling Litestep you will have access to the message
boxes.


Bangs

!MessageBox [buttons][icon][message][title][first][second][third]
Displays a message box. The buttons parameter can be any of the
following:
  ari - Abort, Retry, Ignore
  ctc - Cancel, Try Again, Continue (Win2k/xp only)
  o   - OK
  oc  - OK, Cancel
  rc  - Retry, Cancel
  yn  - Yes, No
  ync - Yes, No, Cancel

The icon parameter is optional and can be any of the following:
  error    - a stop-sign icon
  warning  - an exclamation point icon
  info     - a lowercase 'i' in a circle
  question - a question-mark icon
  none     - no icon

The message parameter is obviously the message and title is the
title. The last three parameters are the commands to be
executed. First is for the first button, second for the second
and so on.
Only the buttons, message, and title parameters are mandatory.
The rest can be omitted.


Changes

Date         Ver  Author   Changes
15 jul 2001  0.1  Sci      First public release
30 may 2003  0.2  ilmcuts  Added icon display
                           Buttons parameter no longer case sensitive
                           Added cancel/try again/continue buttons type
                           MessageBox is displayed ontop of all applications


To-do-list

 * Very simple module, can't think of anything else. If you've
   got any ideas, please send me a mail.


Feedback

If you have a bug report, feature request, or any kind of
feedback, feel free to email it to me at erik@alfafish.com.
For more info and other LiteStep modules and programs, check
out www.alfafish.com


Sourcecode

The sourcecode for this module is distrbuted under the GNU
Public License. If you didn't get the sourcecode with this
module, you can download it from www.alfafish.com

_______________________________________________________________
Erik Christiansson, aka Sci           erik_AT_alphafish_DOT_com
