📄 qqchatwnd.h
字号:
// QQChatWnd.h: interface for the CQQChatWnd class.
#if !defined(QQCHATWND_H)
#define QQCHATWND_H
#include <windows.h>
#define MSG_CHAT_MODE 1
#define P2P_CHAT_MODE 2
class CQQChatWnd
{
public:
bool Chat( void );
bool AddChatText(char *lpstrText);
bool SetChatText( char * lpstrText );
bool GetChatText(char **lplpstrText/*out*/) ;
bool ChangeSysMode( int nSysMode );
int GetSysMode( void );
bool Detach( HWND hChatWnd);
bool Attatch(HWND hChatWnd);
public:
CQQChatWnd();
virtual ~CQQChatWnd();
private:
static BOOL CALLBACK SearchSysModeEnumProc(HWND hwnd, LPARAM lParam);
static BOOL CALLBACK SearchSendButtonEnumProc(HWND hwnd, LPARAM lParam);
static BOOL CALLBACK SearchRichEditEnumProc( HWND hwnd , LPARAM lParam );
bool GetChatRichEditWnd( HWND *pChatRichEditWnd /*in,out*/);
bool GetChatToolbarWnd( HWND *pChatToolbarWnd /*in,out*/);
bool GetSendButtonWnd( HWND *pSendButtonWnd /*in,out*/);
bool GetModeWnd( HWND *pModeWnd /*in,out*/);
int m_nSysMode;
HWND m_hChatWnd;
HWND m_hSendButtonWnd;
HWND m_hModeWnd;
HWND m_hChatRichEditWnd;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -