1 Star 0 Fork 0

soui3-demo/mclistview_demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
StudentSmsDlg.h 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
setoutsoft 提交于 2019-11-27 14:46 . 移植到了3.0,增加DPI支持。
#pragma once
struct IStudentCheckChanged
{
virtual void OnStudentCheckChanged(int nSelCurrent, int nSelExpired) PURE;
};
class CStudentSmsDlg
: public SOUI::SHostDialog
, public IStudentCheckChanged
{
public:
CStudentSmsDlg(void);
~CStudentSmsDlg(void);
protected:
void OnBtnSmsRecord();
void OnSearchFillList(EventArgs *e);
void OnSearchValue(EventArgs *e);
void OnSmsInputNotify(EventArgs *e);
void OnScale(int nID);
EVENT_MAP_BEGIN()
EVENT_ID_HANDLER(R.id.edit_sms_input,EventRENotify::EventID,OnSmsInputNotify)
EVENT_ID_COMMAND(R.id.btn_sms_record,OnBtnSmsRecord);
EVENT_ID_HANDLER(R.id.edit_search,EventFillSearchDropdownList::EventID,OnSearchFillList)
EVENT_ID_HANDLER(R.id.edit_search,EventDropdownListSelected::EventID,OnSearchValue)
EVENT_ID_COMMAND_RANGE(R.id.scale_100,R.id.scale_200,OnScale)
EVENT_MAP_END()
protected:
BOOL OnInitDialog(HWND wndFocus, LPARAM lInitParam);
void OnLButtonDown(UINT nFlags, CPoint point);
BEGIN_MSG_MAP_EX(CStudentSmsDlg)
MSG_WM_LBUTTONDOWN(OnLButtonDown)
MSG_WM_INITDIALOG(OnInitDialog)
CHAIN_MSG_MAP(SOUI::SHostDialog)
END_MSG_MAP()
protected:
virtual void OnStudentCheckChanged(int nSelCurrent, int nSelExpired);
protected:
SWindow * m_wndSmsRecord;
SMCListView * m_tvStudent;
SListView * m_lvSmsRecord;
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/soui3-demo/mclistview_demo.git
git@gitee.com:soui3-demo/mclistview_demo.git
soui3-demo
mclistview_demo
mclistview_demo
master

搜索帮助