<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!Converted with LaTeX2HTML 95 (Thu Jan 19 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
<HEAD>
<TITLE> Standard V Values</TITLE>
</HEAD>
<BODY>
<meta name="description" value=" Standard V Values">
<meta name="keywords" value="vwebref">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
 <BR> <HR><A NAME=tex2html1444 HREF="node10.html"><IMG ALIGN=BOTTOM ALT="next" SRC="../icons/next.gif"></A>   <A NAME=tex2html1442 HREF="vwebref.html"><IMG ALIGN=BOTTOM ALT="up" SRC="../icons/up.gif"></A>   <A NAME=tex2html1436 HREF="node8.html"><IMG ALIGN=BOTTOM ALT="gif" SRC="../icons/prev.gif"></A>   <A NAME=tex2html1446 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="../icons/contents.gif"></A>      <BR>
<B> Next:</B> <A NAME=tex2html1445 HREF="node10.html"> Utilities</A>
<B>Up:</B> <A NAME=tex2html1443 HREF="vwebref.html">V Reference Manual</A>
<B> Previous:</B> <A NAME=tex2html1437 HREF="node8.html"> Drawing</A>
<BR> <HR> <P>
<H1><A NAME=SECTION00900000000000000000> Standard V Values</A></H1>
<P>
This chapter covers standard predefined values.
<P>
The classes and objects covered in this chapter include:
<P>
<DL ><DT>Predefined ItemVals
<DD> A useful collection of predefined values.
Most are useful for defining dialogs, buttons, and menus.
<P>
 </DL>

<P>
<H1><A NAME=SECTION00910000000000000000> Predefined ItemVals</A></H1>
<P>
<A NAME=6087>&#160;</A>
<P>
A useful collection of predefined values. Most are useful for defining
dialogs, buttons, and menus.
<P>
<H2><A NAME=SECTION00911000000000000000> Synopsis</A></H2>
<P>
<DL ><DT>Header:
<DD> <tt>
 &lt;v/v_defs.h&gt;</tt>
<P>
 </DL><H2><A NAME=SECTION00912000000000000000> Description</A></H2>
<P>
When defining dialogs, menus, and command bars, you are required
to provide an id for each item.  There are many common operations
used in GUI designs, and V
  provides various predefined values
for building your programs. The natural interpretation of most
of these values should be obvious, and the descriptions are kept
to a minimum. Most of the definitions describe the accepted practice
for menu or button items with the given title. While these <tt>
 ItemVal</tt>s
can be used anywhere, some have ``standard'' usage.
<P>
<H2><A NAME=SECTION00913000000000000000> Control Values</A></H2>
<P>
<H5><A NAME=SECTION00913001000000000000> M_About</A></H5>
<P>
 Shows an informative message about current application.
<P>
<H5><A NAME=SECTION00913002000000000000> M_All</A></H5>
<P>
 Select all.
<P>
<H5><A NAME=SECTION00913003000000000000> M_Cancel</A></H5>
<P>
 Cancel. Usually used with a dialog. V
  will
automatically reset dialog commands to their original state when
a <tt>
 M_Cancel</tt> is selected from a <tt>
 vDialog</tt> descended
object.
<P>
<H5><A NAME=SECTION00913004000000000000> M_Clear</A></H5>
<P>
 Used to clear a screen.
<P>
<H5><A NAME=SECTION00913005000000000000> M_Close</A></H5>
<P>
 Used to close a file. The user is usually
prompted to save or ignore changes if any were made to the file. This
is usually not used to close a menu.
<P>
<H5><A NAME=SECTION00913006000000000000> M_Copy</A></H5>
<P>
 Copy the highlighted text or item, and save into
the clipboard.
<P>
<H5><A NAME=SECTION00913007000000000000> M_Cut</A></H5>
<P>
 Cut the highlighted text or item from the file, and
usually save into the clipboard.
<P>
<H5><A NAME=SECTION00913008000000000000> M_Delete</A></H5>
<P>
 Delete the selected item or text -- usually
does not copy into the clipboard.
<P>
<H5><A NAME=SECTION00913009000000000000> M_Done</A></H5>
<P>
 Done with operation.
<P>
<H5><A NAME=SECTION009130010000000000000> M_Edit</A></H5>
<P>
 Typically a menu bar button to pulldown an edit menu.
<P>
<H5><A NAME=SECTION009130011000000000000> M_Exit</A></H5>
<P>
 Exit from the program -- checking to see if files
need to be saved, of course.
<P>
<H5><A NAME=SECTION009130012000000000000> M_File</A></H5>
<P>
 Typically a menu bar button to pulldown a file menu.
<P>
<H5><A NAME=SECTION009130013000000000000> M_Find</A></H5>
<P>
 Find a pattern.
<P>
<H5><A NAME=SECTION009130014000000000000> M_FindAgain</A></H5>
<P>
 Find pattern again.
<P>
<H5><A NAME=SECTION009130015000000000000> M_Font</A></H5>
<P>
 Typically a menu bar button to pulldown a font menu.
<P>
<H5><A NAME=SECTION009130016000000000000> M_FontSelect</A></H5>
<P>
 Select a font. (This is different from the
<tt>
 M_Font</tt> value in that <tt>
 M_Font</tt> is intended as a main
menu bar item, while this one is for a pulldown menu.
<P>
<H5><A NAME=SECTION009130017000000000000> M_Format</A></H5>
<P>
 Typically a menu bar button to pulldown a format menu, which
allows the user to select formatting options.
<P>
<H5><A NAME=SECTION009130018000000000000> M_Help</A></H5>
<P>
 Show help.
<P>
<H5><A NAME=SECTION009130019000000000000> M_Insert</A></H5>
<P>
 Typically a menu bar button to pulldown an insert menu.
<P>
<H5><A NAME=SECTION009130020000000000000> M_Line</A></H5>
<P>
 <tt>
 M_Line</tt> is one of a few of these values
that gets special treatment by the system.  It is required for
defining line separators in menus.
<P>
<H5><A NAME=SECTION009130021000000000000> M_New</A></H5>
<P>
 Used to create a new file.
<P>
<H5><A NAME=SECTION009130022000000000000> M_No</A></H5>
<P>
 Answer No.
<P>
<H5><A NAME=SECTION009130023000000000000> M_None</A></H5>
<P>
 Select none.
<P>
<H5><A NAME=SECTION009130024000000000000> M_OK</A></H5>
<P>
 OK, accept operation or information. Causes return
from dialog.
<P>
<H5><A NAME=SECTION009130025000000000000> M_Open</A></H5>
<P>
 Used to open an existing file.
<P>
<H5><A NAME=SECTION009130026000000000000> M_Options</A></H5>
<P>
 Typically a menu bar button to pulldown an options menu.
<P>
<H5><A NAME=SECTION009130027000000000000> M_Paste</A></H5>
<P>
 Paste the contents of the clipboard into the insertion
point of the current file or item.
<P>
<H5><A NAME=SECTION009130028000000000000> M_Preferences</A></H5>
<P>
 Set preferences.
<P>
<H5><A NAME=SECTION009130029000000000000> M_Print</A></H5>
<P>
 Print current file.
<P>
<H5><A NAME=SECTION009130030000000000000> M_PrintPreview</A></H5>
<P>
 On screen preview how the current file would look
if printed.
<P>
<H5><A NAME=SECTION009130031000000000000> M_Replace</A></H5>
<P>
 Replace pattern.
<P>
<H5><A NAME=SECTION009130032000000000000> M_Save</A></H5>
<P>
 Used to save current file in its current name.
<P>
<H5><A NAME=SECTION009130033000000000000> M_SaveAs</A></H5>
<P>
 Save current file under new name.
<P>
<H5><A NAME=SECTION009130034000000000000> M_Search</A></H5>
<P>
 Typically a menu bar button to pulldown a search menu.
<P>
<H5><A NAME=SECTION009130035000000000000> M_SetDebug</A></H5>
<P>
 Set debug stuff.
<P>
<H5><A NAME=SECTION009130036000000000000> M_Test</A></H5>
<P>
 Typically a menu bar button to pulldown a test menu.
<P>
<H5><A NAME=SECTION009130037000000000000> M_Tools</A></H5>
<P>
 Typically a menu bar button to pulldown a tools menu.
<P>
<H5><A NAME=SECTION009130038000000000000> M_UnDo</A></H5>
<P>
 Undo the last action.
<P>
<H5><A NAME=SECTION009130039000000000000> M_View</A></H5>
<P>
 Typically a menu bar button to pulldown a view menu, which
allows the user to select different views of the document.
<P>
<H5><A NAME=SECTION009130040000000000000> M_Window</A></H5>
<P>
 Typically a menu bar button to pulldown a window menu, which
lets the user select different windows.
<P>
<H5><A NAME=SECTION009130041000000000000> M_Yes</A></H5>
<P>
 Answer Yes.
<P>
<H1><A NAME=SECTION00920000000000000000> Version Values</A></H1>
<P>
<A NAME=6142>&#160;</A>
<P>
A useful collection of predefined values to determine the
version of V and the platform.
<P>
<H2><A NAME=SECTION00921000000000000000> Synopsis</A></H2>
<P>
V
  defines several values useful for determining the revision of
V
 , and the platform V
  is compiled on.
<P>
<DL ><DT>Header:
<DD> <tt>
 &lt;v/v_defs.h&gt;</tt>
<P>
 </DL><H2><A NAME=SECTION00922000000000000000> Version Values</A></H2>
<P>
<H5><A NAME=SECTION00922001000000000000> V_VersMajor</A></H5>
<P>
 The major version of V
 , such as 1.
<P>
<H5><A NAME=SECTION00922002000000000000> V_VersMinor</A></H5>
<P>
 The minor release of V
 , such as 12.
<P>
<H5><A NAME=SECTION00922003000000000000> V_Version</A></H5>
<P>
 A text string describing the version of
V
 , such as <em>V 1.12 - 8/4/96</em>.
<P>
<H5><A NAME=SECTION00922004000000000000> V_VersionX</A></H5>
<P>
 Defined if the is the standard X version of V
 .
<P>
<H5><A NAME=SECTION00922005000000000000> V_VersionMotif</A></H5>
<P>
 Defined if the Motif version of V
 .
<P>
<H5><A NAME=SECTION00922006000000000000> V_VersionWindows</A></H5>
<P>
 Defined if the Windows version of V
 .
<P>
<H5><A NAME=SECTION00922007000000000000> V_VersionWin95</A></H5>
<P>
 Defined if the Windows 95 version of V
 .
<P>
<H5><A NAME=SECTION00922008000000000000> V_VersionOS2</A></H5>
<P>
 Defined for the OS2 version of V
 .
<P>
<BR> <HR><A NAME=tex2html1444 HREF="node10.html"><IMG ALIGN=BOTTOM ALT="next" SRC="../icons/next.gif"></A>   <A NAME=tex2html1442 HREF="vwebref.html"><IMG ALIGN=BOTTOM ALT="up" SRC="../icons/up.gif"></A>   <A NAME=tex2html1436 HREF="node8.html"><IMG ALIGN=BOTTOM ALT="gif" SRC="../icons/prev.gif"></A>   <A NAME=tex2html1446 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="../icons/contents.gif"></A>      <BR>
<B> Next:</B> <A NAME=tex2html1445 HREF="node10.html"> Utilities</A>
<B>Up:</B> <A NAME=tex2html1443 HREF="vwebref.html">V Reference Manual</A>
<B> Previous:</B> <A NAME=tex2html1437 HREF="node8.html"> Drawing</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Bruce Wampler <BR>
Thu Nov 14 09:25:45 MST 1996</I>
</ADDRESS>
</BODY>
