home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 25: Programming / pc_actual_25.iso / C_C++ / VisualProgrammingArmoury / data1.cab / MyFileGroup / INCLUDE / Splitter.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-06-23  |  1.4 KB  |  58 lines

  1. #ifndef _INC_SPLITTER_HPP
  2. #define _INC_SPLITTER_HPP
  3. #ifdef __GNUG__
  4.  
  5. #ifdef BUILD_TCCORE
  6. #define TCCORELIB    dllexport
  7. #else
  8. #ifdef BUILD_LOCAL
  9. #define TCCORELIB
  10. #else
  11. #define TCCORELIB    dllimport
  12. #endif
  13. #endif
  14.  
  15. #else
  16.  
  17. #ifdef BUILD_TCCORE
  18. #define TCCORELIB    __declspec(dllexport)
  19. #else
  20. #ifdef BUILD_LOCAL
  21. #define TCCORELIB
  22. #else
  23. #define TCCORELIB    __declspec(dllimport)
  24. #endif
  25. #endif
  26.  
  27. #endif
  28.  
  29. // **********************************************************************
  30. struct TCCORELIB TC_SplitHelper 
  31. {
  32. public:  HWND hWnd ;
  33. public:  HWND hWnd1 ;
  34. public:  HWND hWnd2 ;
  35. public:  int b_Horz ;
  36. public:  int b_Fix2 ;
  37. public:  int b_NoMs ;
  38. public:  static  int b_Cap ;
  39. public:  static  HWND hWndCap ;
  40. public:  static  int oldPos ;
  41. public:   TC_SplitHelper ()  ;
  42. public:  void Wm_Paint ()  ;
  43. public:  BOOL Wm_SetCursor ()  ;
  44. public:  void Wm_Size ()  ;
  45. public:  BOOL Wm_LButtonDown (LPARAM lParam)  ;
  46. public:  void Wm_MouseMove (LPARAM lParam, int act)  ;
  47. public:  void Wm_LButtonUp (LPARAM lParam)  ;
  48. public:  void End_Capture (LPARAM lParam,BOOL ok)  ;
  49. public:  BOOL MsgProc (UINT uMsg, WPARAM wParam, LPARAM lParam)  ;
  50. public: static BOOL WantMsg (UINT uMsg)  ;
  51. public:  BOOL GetHWnd1HWnd2 (BOOL swap=FALSE)  ;
  52.  
  53. }; // end of class TC_SplitHelper
  54.  
  55. // **********************************************************************
  56.  
  57. #endif // _INC_SPLITTER_HPP
  58.