C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_wmenuclick
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _wmenuclick function emulates the user choosing a command
     from the QuickWin Window menu. This routine is used only in
     QuickWin programs; it is not part of the Windows API. For full
     details about QuickWin, see Chapter 8 of the Programming
     Techniques manual.
 
     The <menuitem> argument is a manifest constant specifying one of
     four available menu commands:
 
     Value           Meaning
 
     _WINTILE        Tile the program's child windows
     _WINCASCADE     Cascade the program's child windows
     _WINARRANGE     Arrange icons at the bottom of the client
                     window area
     _WINSTATBAR     Toggle the status bar
 
     These are the only menu commands you can choose. Calling the
     function with one of these values performs the menu action.
 
     Return Value
 
     If successful, _wmenuclick returns 0. A return value of -1
     indicates an error.
                                    -♦-