<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2002-1 (1.68)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Usage</TITLE>
<META NAME="description" CONTENT="Usage">
<META NAME="keywords" CONTENT="opie-sh-howto">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="opie-sh-howto.css">

<LINK REL="previous" HREF="node5.html">
<LINK REL="up" HREF="node5.html">
<LINK REL="next" HREF="node7.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html107"
  HREF="node7.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="file:/usr/local/share/lib/latex2html/icons/next.gif"></A> 
<A NAME="tex2html103"
  HREF="node5.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="file:/usr/local/share/lib/latex2html/icons/up.gif"></A> 
<A NAME="tex2html99"
  HREF="node5.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="file:/usr/local/share/lib/latex2html/icons/prev.gif"></A> 
<A NAME="tex2html105"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="file:/usr/local/share/lib/latex2html/icons/contents.gif"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html108"
  HREF="node7.html">General</A>
<B> Up:</B> <A NAME="tex2html104"
  HREF="node5.html">Message Dialog</A>
<B> Previous:</B> <A NAME="tex2html100"
  HREF="node5.html">Message Dialog</A>
 &nbsp <B>  <A NAME="tex2html106"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION00031000000000000000">
Usage</A>
</H2>
A message box works by opening a window with an icon, a message, and up to three buttons.  You can tell what button the user pressed by checking the return code of opie-sh.  To make opie-sh display a message box, you can use the flag ``-m''.  So, <code>opie-sh -m</code> will display a message box with an information icon and an  ``Ok'' button.

<P>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL>
<LI><A NAME="tex2html109"
  HREF="node7.html">General</A>
<LI><A NAME="tex2html110"
  HREF="node8.html">Buttons</A>
<LI><A NAME="tex2html111"
  HREF="node9.html">Icons</A>
</UL>
<!--End of Table of Child-Links-->
<BR><HR>
<ADDRESS>

2002-05-15
</ADDRESS>
</BODY>
</HTML>