| 
            Last change
 on this file since 1371 was             1157, checked in by John Small, 17 years ago           | 
        
        
          | 
             
Ticket 187: Draft 1: Functions only 
 
           | 
        
        
          
            
              - 
Property                 svn:eol-style
 set to                 
native
               
              - 
Property                 svn:keywords
 set to                 
Author Date Id Revision
               
             
           | 
        
        
          | 
            File size:
            627 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | 
 | 
|---|
| 2 | /***********************************************************************
 | 
|---|
| 3 | 
 | 
|---|
| 4 |   $Id: menu.h 1157 2008-09-05 21:39:52Z jbs $
 | 
|---|
| 5 | 
 | 
|---|
| 6 |   Menu support
 | 
|---|
| 7 | 
 | 
|---|
| 8 |   Copyright (c) 1993-98 M. Kimes
 | 
|---|
| 9 |   Copyright (c) 2008 Steven H. Levine
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   04 Jan 08 SHL Allow standalone usage
 | 
|---|
| 12 | 
 | 
|---|
| 13 | ***********************************************************************/
 | 
|---|
| 14 | 
 | 
|---|
| 15 | #if !defined(MENU_H)
 | 
|---|
| 16 | #define MENU_H
 | 
|---|
| 17 | 
 | 
|---|
| 18 | #if !defined(OS2_INCLUDED)
 | 
|---|
| 19 | #include <os2.h>
 | 
|---|
| 20 | #endif
 | 
|---|
| 21 | 
 | 
|---|
| 22 | typedef struct MENU
 | 
|---|
| 23 | {
 | 
|---|
| 24 |   USHORT size;
 | 
|---|
| 25 |   USHORT cmd;
 | 
|---|
| 26 |   USHORT type;
 | 
|---|
| 27 |   USHORT dummy;
 | 
|---|
| 28 |   CHAR *text;
 | 
|---|
| 29 |   struct MENU *next;
 | 
|---|
| 30 | }
 | 
|---|
| 31 | MENU;
 | 
|---|
| 32 | 
 | 
|---|
| 33 | #define ACTION    0
 | 
|---|
| 34 | #define SUBMENU   1
 | 
|---|
| 35 | #define SEPARATOR 2
 | 
|---|
| 36 | 
 | 
|---|
| 37 | BOOL AddToMenu(CHAR * filename, HWND hwndMenu);
 | 
|---|
| 38 | 
 | 
|---|
| 39 | #endif // MENU_H
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.