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.

32 lines
755 B

  1. //
  2. // HJMODE.H
  3. //
  4. #if !defined (__HJMODE_H__INCLUDED_)
  5. #define __HJMODE_H__INCLUDED_
  6. #include "cicbtn.h"
  7. #include "toolbar.h"
  8. class HJMode : public CCicButton
  9. {
  10. public:
  11. HJMode(CToolBar *ptb);
  12. ~HJMode() {}
  13. STDMETHODIMP GetIcon(HICON *phIcon);
  14. HRESULT OnLButtonUp(const POINT pt, const RECT* prcArea);
  15. //HRESULT OnRButtonUp(const POINT pt, const RECT* prcArea);
  16. STDMETHODIMP InitMenu(ITfMenu *pMenu);
  17. STDMETHODIMP OnMenuSelect(UINT wID);
  18. STDMETHODIMP_(ULONG) Release(void);
  19. private:
  20. DWORD GetCMode() { return m_pTb->GetConversionMode(); }
  21. DWORD SetCMode(DWORD dwConvMode) { return m_pTb->SetConversionMode(dwConvMode); }
  22. CToolBar *m_pTb;
  23. };
  24. #endif // __HJMODE_H__INCLUDED_