| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- #pragma once
- #include "../pch/pch.h"
- #include "CMainWnd.h"
- #include "CModalWnd.h"
- class CHuiyuanXiugaimimaWnd : public CModalWnd
- {
- public:
- LPCTSTR GetWindowClassName() const
- {
- return _T("UIMemoWndFrame");
- };
- UINT GetClassStyle() const
- {
- return UI_CLASSSTYLE_DIALOG;
- };
- void OnFinalMessage(HWND /*hWnd*/)
- {
- //WindowImplBase::OnFinalMessage(hWnd);
- m_pm.RemovePreMessageFilter(this);
- //delete this;
- };
- void Init();
- void Notify(TNotifyUI& msg);
- LRESULT OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
- LRESULT OnNcActivate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
- {
- if (::IsIconic(*this))
- {
- bHandled = FALSE;
- }
- return (wParam == 0) ? TRUE : FALSE;
- }
- LRESULT OnNcCalcSize(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
- {
- return 0;
- }
- LRESULT OnNcPaint(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
- {
- return 0;
- }
- LRESULT OnNcHitTest(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
- LRESULT OnSize(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
- LRESULT HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
- LRESULT MessageHandler(UINT uMsg, WPARAM wParam, LPARAM lParam, bool& bHandled);
- //把当前修改资料的会员的默认信息保存起来,用于初始化展示
- void SetMemberInfo(std::string member_id, std::string phone, std::string is_open_pay_password, std::string name, std::string member_card_no, std::string sex, std::string birthday, std::string address, std::string card_identify);
- void StartYanzheng();
- void ConfirmMember();
- //处理键盘捕捉结果
- void HandleTextCapture(std::string content)
- {
- }
- public:
- CPaintManagerUI m_pm;
- std::string m_member_id;
- std::string m_phone;
- std::string m_is_open_pay_password;
- std::string m_name;
- std::string m_member_card_no;
- std::string m_sex;
- std::string m_birthday;
- std::string m_address;
- std::wstring m_errorInfo;
- std::string m_card_identify; //这个其实修改资料没用,但是接口那里目前是必传,如果不传就直接抹掉了这个
- std::string m_password;
- std::mutex m_qingqiu_mutex;
- bool m_is_qingqiu = false;
- };
|