⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imwnd.h

📁 简单的输入法 各位多多指教 简单的输入法 各位多多指教
💻 H
字号:
// IMWnd.h: interface for the CIMWnd class.
//
//////////////////////////////////////////////////////////////////////

#ifndef IMWND_H
#define IMWND_H
//==========================================================================

#include "sip.h"


//--------------------------------------------------------------------------------
//The input method window class
class CIMWnd  
{
public:
	HWND GetWindow();
	void ShowUserOptionsDlg(HWND hWndParent,HINSTANCE hInst = NULL);
	void ShowWindow(BOOL bShow);
	void DestroyWindow();
	static CIMWnd * GetInstance();
	BOOL Initialize(HINSTANCE hInst, HWND hWndSip);
	virtual ~CIMWnd();


protected:
	void OnRegCallback(HWND hWnd,UINT wMsg,WPARAM wParam,LPARAM lParam);
	void OnDestroy(HWND hWnd,UINT wMsg,WPARAM wParam,LPARAM lParam);
	void OnLButtonUp(HWND hWnd,UINT wMsg,WPARAM wParam,LPARAM lParam);
	void OnPaint(HWND hWnd,UINT wMsg,WPARAM wParam,LPARAM lParam);
	CIMWnd();
	
	static LRESULT WndProc(HWND hWnd,UINT wMsg,WPARAM wParam,LPARAM lParam);
	static CIMWnd *m_pInstance;
	
	HWND m_hWnd;
	HINSTANCE m_hInst;
	HWND m_hWndSip; //The sip window, also the parent window




	
	IIMCallback *m_pIMCallback; //Pointer to the callback function


};


//============================================================================
#endif // IMWND_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -