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.

53 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 2001, Microsoft Corporation
  3. Module Name:
  4. uiwndhd.h
  5. Abstract:
  6. This file defines the IME UI window handler Class.
  7. Author:
  8. Revision History:
  9. Notes:
  10. --*/
  11. #ifndef _UIWNDHD_H_
  12. #define _UIWNDHD_H_
  13. #include "imc.h"
  14. #include "template.h"
  15. #include "context.h"
  16. #include "globals.h"
  17. class CIMEUIWindowHandler
  18. {
  19. public:
  20. static LRESULT ImeUIWndProcWorker(HWND hUIWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  21. private:
  22. static LRESULT ImeUINotifyHandler(HWND hUIWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  23. static LRESULT ImeUIMsImeHandler(HWND hUIWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  24. static LRESULT ImeUIMsImeMouseHandler(HWND hUIWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  25. static LRESULT ImeUIMsImeModeBiasHandler(HWND hUIWnd, WPARAM wParam, LPARAM lParam);
  26. static LRESULT ImeUIMsImeReconvertRequest(HWND hUIWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  27. friend BOOL IsMsImeMessage(UINT uMsg);
  28. static LRESULT ImeUIPrivateHandler(UINT uMsg, WPARAM wParam, LPARAM lParam);
  29. static LRESULT ImeUIOnLayoutChange(HIMC hIMC);
  30. static LRESULT ImeUIDelayedReconvertFuncCall(HWND hUIWnd);
  31. friend HRESULT OnSetCandidatePos(TLS* ptls, IMCLock& imc, CicInputContext& CicContext);
  32. };
  33. #endif // _UIWNDHD_H_