-
Notifications
You must be signed in to change notification settings - Fork 0
/
EmojiDlg.h
48 lines (40 loc) · 1.02 KB
/
EmojiDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
#include "Adapter_EmotionTileView.h"
class CEmojiDlg : public SHostWnd
, public CAdapter_EmotionTileView::IListener
{
public:
struct IListener
{
virtual void EmotionTileViewItemClick(const std::string& strID) = 0;
};
public:
CEmojiDlg(IListener* pListner);
~CEmojiDlg(void);
public:
void OnEmotionItemClick(const std::string& strID);
protected:
BOOL OnInitDialog(HWND wndFocus, LPARAM lInitParam);
void OnCommand(UINT uNotifyCode, int nID, HWND wndCtl);
void OnSize(UINT nType, SOUI::CSize size);
void OnLButtonDown(UINT nFlags, SOUI::CPoint pt);
void OnTimer(UINT_PTR idEvent);
void OnSysCommand(UINT nID, SOUI::CPoint pt);
protected:
EVENT_MAP_BEGIN()
EVENT_MAP_END()
BEGIN_MSG_MAP_EX(CEmojiDlg)
MSG_WM_INITDIALOG(OnInitDialog)
MSG_WM_COMMAND(OnCommand)
MSG_WM_SIZE(OnSize)
MSG_WM_LBUTTONDOWN(OnLButtonDown)
MSG_WM_TIMER(OnTimer)
MSG_WM_SYSCOMMAND(OnSysCommand)
CHAIN_MSG_MAP(SHostWnd)
REFLECT_NOTIFICATIONS_EX()
END_MSG_MAP()
public:
void SetNoSel();
private:
IListener* m_pListner;
};