home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / PRECOM.ZIP / SAM.DEF < prev    next >
Text File  |  1992-09-28  |  2KB  |  43 lines

  1. DEFINITION MODULE SAM;
  2. (* sample data manager application *)
  3.  
  4. IMPORT OS2DEF,Win,Lib,SYSTEM;
  5.  
  6. FROM OS2DEF IMPORT HDC,HRGN,HAB,HPS,HBITMAP,HWND,HMODULE,HSEM,
  7.                    POINTL,RECTL,PID,TID,LSET,NULL,
  8.                    COLOR,NullVar,NullStr,BOOL ;
  9.  
  10. (* these constanst are the same as the ones used in the resource file *)
  11.  
  12. CONST
  13.     OrgLst                   =   100;
  14.     OrgUnitLst               =   101;
  15.     OrgUnitDetail            =   200;
  16.     EmplyeeLst               =   206;
  17.     Division                 =   214;
  18.     Department               =   215;
  19.     Location                 =   216;
  20.     DeptNbr                  =   217;
  21.     Manager                  =   218;
  22.     Avg                      =   219;
  23.     Total                    =   220;
  24.     Min                      =   221;
  25.     Max                      =   222;
  26.     EmplyDetail              =   300; (* dialog for employee detail *)
  27.     Name                     =   308;
  28.     Dept                     =   309;
  29.     Job                      =   310;
  30.     Years                    =   311;
  31.     Salary                   =   312;
  32.     Commis                   =   313;
  33.  
  34. (*# save,
  35.     call(near_call=>off, reg_param=>(), reg_saved=>(di,si,ds,es,st1,st2)) *)
  36. PROCEDURE SampleMessageProc(hwnd : HWND;msg:CARDINAL;mp1,mp2:Win.MPARAM):Win.MRESULT;
  37. PROCEDURE OrgUnitDlgProc   (hwnd : HWND;msg:CARDINAL;mp1,mp2:Win.MPARAM):Win.MRESULT;
  38. PROCEDURE StaffDlgProc     (hwnd : HWND;msg:CARDINAL;mp1,mp2:Win.MPARAM):Win.MRESULT;
  39. (*# restore *)
  40.  
  41.  
  42.  
  43. END SAM.