Rxconst.pas
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:2k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. {*******************************************************}
  2. {                                                       }
  3. {         Delphi VCL Extensions (RX)                    }
  4. {                                                       }
  5. {         Copyright (c) 1995, 1996 AO ROSNO             }
  6. {         Copyright (c) 1997, 1998 Master-Bank          }
  7. {                                                       }
  8. {*******************************************************}
  9. unit RXConst;
  10. interface
  11. {$I RX.INC}
  12. uses Controls;
  13. const
  14.   RX_VERSION = $0002004B;  { 2.75 }
  15. const
  16. { Command message for Speedbar editor }
  17.   CM_SPEEDBARCHANGED = CM_BASE + 80;
  18. { Command message for TRxSpeedButton }
  19.   CM_RXBUTTONPRESSED = CM_BASE + 81;
  20. { Command messages for TRxWindowHook }
  21.   CM_RECREATEWINDOW  = CM_BASE + 82;
  22.   CM_DESTROYHOOK     = CM_BASE + 83;
  23. { Notify message for TRxTrayIcon }
  24.   CM_TRAYICON        = CM_BASE + 84;
  25. const
  26.   crHand     = TCursor(14000);
  27.   crDragHand = TCursor(14001);
  28. const
  29. { TBitmap.GetTransparentColor from GRAPHICS.PAS use this value }
  30.   PaletteMask = $02000000;
  31. {$IFDEF VER90}
  32. const
  33.   SDelphiKey = 'SoftwareBorlandDelphi2.0';
  34. {$ENDIF}
  35. {$IFDEF VER93}
  36. const
  37.   SDelphiKey = 'SoftwareBorlandC++Builder1.0';
  38. {$ENDIF}
  39. {$IFDEF VER100}
  40. const
  41.   SDelphiKey = 'SoftwareBorlandDelphi3.0';
  42. {$ENDIF}
  43. {$IFDEF VER110}
  44. const
  45.   SDelphiKey = 'SoftwareBorlandC++Builder3.0';
  46. {$ENDIF}
  47. {$IFDEF VER120}
  48. const
  49.   SDelphiKey = 'SoftwareBorlandDelphi4.0';
  50. {$ENDIF}
  51. {$IFDEF VER125}
  52. const
  53.   SDelphiKey = 'SoftwareBorlandC++Builder4.0';
  54. {$ENDIF}
  55. {$IFDEF VER130}
  56. const
  57.   SDelphiKey = 'SoftwareBorlandDelphi5.0';
  58. {$ENDIF}
  59. {$IFDEF VER140}
  60. const
  61.   SDelphiKey = 'SoftwareBorlandDelphi6.0';
  62. {$ENDIF}
  63. {$IFDEF VER150}
  64. const
  65.   SDelphiKey = 'SoftwareBorlandDelphi7.0';
  66. {$ENDIF}
  67. implementation
  68. uses {$IFDEF WIN32} Windows, {$ELSE} WinProcs, {$ENDIF} Forms;
  69. {$IFDEF WIN32}
  70.  {$R *.R32}
  71. {$ELSE}
  72.  {$R *.R16}
  73. {$ENDIF}
  74. initialization
  75.   Screen.Cursors[crHand] := LoadCursor(hInstance, 'RX_HANDCUR');
  76.   Screen.Cursors[crDragHand] := LoadCursor(hInstance, 'RX_DRAGCUR');
  77. end.