Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.9 KiB

  1. /////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1997 Active Voice Corporation. All Rights Reserved.
  4. //
  5. // Active Agent(r) and Unified Communications(tm) are trademarks of Active Voice Corporation.
  6. //
  7. // Other brand and product names used herein are trademarks of their respective owners.
  8. //
  9. // The entire program and user interface including the structure, sequence, selection,
  10. // and arrangement of the dialog, the exclusively "yes" and "no" choices represented
  11. // by "1" and "2," and each dialog message are protected by copyrights registered in
  12. // the United States and by international treaties.
  13. //
  14. // Protected by one or more of the following United States patents: 5,070,526, 5,488,650,
  15. // 5,434,906, 5,581,604, 5,533,102, 5,568,540, 5,625,676, 5,651,054.
  16. //
  17. // Active Voice Corporation
  18. // Seattle, Washington
  19. // USA
  20. //
  21. /////////////////////////////////////////////////////////////////////////////////////////
  22. //////////////////////////////////////////////////////////
  23. // ExpTreeView.h
  24. //
  25. #ifndef __EXPTREEVIEW_H__
  26. #define __EXPTREEVIEW_H__
  27. class CExpTreeView :
  28. public CWindowImpl<CExpTreeView>
  29. {
  30. public:
  31. CExpTreeView();
  32. // Members
  33. public:
  34. CConfExplorerTreeView *m_pTreeView;
  35. bool m_bCapture;
  36. BEGIN_MSG_MAP(CExpTreeView)
  37. MESSAGE_HANDLER(WM_CONTEXTMENU, OnContextMenu)
  38. MESSAGE_HANDLER(WM_RBUTTONDOWN, OnRButtonDown)
  39. NOTIFY_CODE_HANDLER(TVN_SELCHANGED, OnSelChanged)
  40. NOTIFY_CODE_HANDLER(TVN_ENDLABELEDIT, OnEndLabelEdit)
  41. END_MSG_MAP()
  42. LRESULT OnRButtonDown(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
  43. LRESULT OnContextMenu(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
  44. LRESULT OnSelChanged(WPARAM wParam, LPNMHDR lpnmHdr, BOOL& bHandled);
  45. LRESULT OnEndLabelEdit(WPARAM wParam, LPNMHDR lpnmHdr, BOOL& bHandled);
  46. };
  47. #endif // __EXPTREEVIEW_H__