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.

28 lines
598 B

  1. //
  2. // PROPBUT.H
  3. //
  4. #if !defined (__PROPBUT_H__INCLUDED_)
  5. #define __PROPBUT_H__INCLUDED_
  6. #include "buttoncc.h"
  7. #include "toolbar.h"
  8. class PropertyButton : public CLBarItemButtonBase
  9. {
  10. public:
  11. PropertyButton(CToolBar *ptb);
  12. ~PropertyButton() {}
  13. STDMETHODIMP GetIcon(HICON *phIcon);
  14. private:
  15. HRESULT OnLButtonUp(const POINT pt, const RECT* prcArea);
  16. HRESULT OnRButtonUp(const POINT pt, const RECT* prcArea);
  17. STDMETHODIMP InitMenu(ITfMenu *pMenu);
  18. STDMETHODIMP OnMenuSelect(UINT wID);
  19. CToolBar *m_pTb;
  20. };
  21. #endif // __PROPBUT_H__INCLUDED_