home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / apcmetrics.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  1.8 KB  |  45 lines

  1.  
  2.  
  3. #ifndef _APCMetrics_H
  4. #define _APCMetrics_H
  5.  
  6.  
  7. // This color definition system is designed in the spirit if GetSysColor
  8. // GetSysColor was not modified to allow for the possiblity of standard 
  9. // windows color schemes to co-exist with the AutoPC faceplace color schemes
  10.  
  11. // AutoPC System Colors
  12.  
  13. // generic defaults
  14. #define ASM_CYTITLEBAR               0x0000  // height of titlebar
  15. #define ASM_CYTABBER                 0x0001  // height of tabber
  16. #define ASM_CXTITLEBARITEMGAP        0x0002  // horiz space between items in title bar
  17. #define ASM_PLBMAXITEMSVISIBLE       0x0003  // maximum number of power listbox visible at one time
  18. #define ASM_FSPLBNORMAL              0x0004  // font size - non select PLB items
  19. #define ASM_FSPLBHILITE              0x0005  // font size - hilited PLB item
  20. #define ASM_FSTITLEBAR               0x0006  // font size - titlebar
  21.  
  22. // description of the large UI arrows drawn (same as nav arrow)
  23. // note these X and Y are relative to the left and right arrows 
  24. // for up and down arrows rotate the X and Y (the arrows are rectangular
  25. #define ASM_CXARROWLARGE             0x0007  // width of a large arrow image 
  26. #define ASM_CYARROWLARGE             0x0008  // height of a large arrow image (same as nav arrow)
  27. #define ASM_CXARROWLARGEBORDER       0x0009  // width between large arrow image other stuff
  28. #define ASM_CYARROWLARGEBORDER       0x000a  // height between large arrow image other stuff
  29.  
  30. #define APCINVALIDMETRIC ((-1))
  31.  
  32. // APCGetSysColor
  33. long APCGetSystemMetrics(  OLE_HANDLE hFC, int nIndex);
  34.  
  35.  
  36. BOOL APCSetSystemMetrics( int cElements,            // number of elements to change 
  37.                     CONST INT *lpaElements,        // address of array of elements 
  38.                     CONST long *lpaMetricValues);    // address of array of metric values  
  39.   
  40.  
  41. #endif
  42.  
  43.  
  44.  
  45.