home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mod201j.zip / modula2.exe / os2api / winstati.def < prev    next >
Text File  |  1992-10-15  |  1KB  |  36 lines

  1. DEFINITION MODULE WINSTATICS;
  2.  
  3. (************************************************************************
  4.   OS/2 2.0 interface for window static controls.
  5.  
  6.   Copyright (c) 1992 by Juergen Neuhoff
  7. *************************************************************************)
  8.  
  9. (*$XL+       Modula-2 language extensions: '_' allowed for symbol names *)
  10.  
  11. CONST
  12.   (* Static control styles:
  13.   *
  14.   * NOTE: the top 9 bits of the LOWORD of the window flStyle are used for
  15.   * DT_* flags.  The lower 7 bits are for SS_* styles.  This gives us up
  16.   * to 128 distinct static control types (we currently use 11 of them).
  17.   *)
  18.   SS_TEXT             = 00000001H;
  19.   SS_GROUPBOX         = 00000002H;
  20.   SS_ICON             = 00000003H;
  21.   SS_BITMAP           = 00000004H;
  22.   SS_FGNDRECT         = 00000005H;
  23.   SS_HALFTONERECT     = 00000006H;
  24.   SS_BKGNDRECT        = 00000007H;
  25.   SS_FGNDFRAME        = 00000008H;
  26.   SS_HALFTONEFRAME    = 00000009H;
  27.   SS_BKGNDFRAME       = 0000000AH;
  28.   SS_SYSICON          = 0000000BH;
  29.   SS_AUTOSIZE         = 00000040H;
  30.  
  31. CONST (* Static control messages *)
  32.   SM_SETHANDLE        = 0100H;
  33.   SM_QUERYHANDLE      = 0101H;
  34.  
  35. END WINSTATICS.
  36.