| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #pragma once
- #include "../pch/pch.h"
- #include "CMainWnd.h"
- #include "CModalWnd.h"
- class CSaomaCikaWnd : 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 SetTitle(std::wstring title);
- 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);
- 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 StartYanzheng();
- void ConfirmMember();
- //´¦Àí¼üÅ̲¶×½½á¹û
- void HandleTextCapture(std::string content);
- public:
- CPaintManagerUI m_pm;
- std::string m_code;
- std::wstring m_errorInfo;
- std::string m_timescoupon_id;
- std::string m_timescoupon_name;
- std::string m_deduct_type;
- std::string m_deduct_way;
- std::string m_discount;
- std::string m_discount_value;
- std::string m_full_reduce;
- std::string m_full_reduce_value;
- std::string m_offer;
- std::string m_offer_value;
- std::string m_bind_foods_name;
- std::string m_bind_foods_id;
- };
|