Advertisement
Guest User

header

a guest
Mar 24th, 2021
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.25 KB | None | 0 0
  1. #pragma once
  2. #include "sdk_util.h"
  3. #include "UIlib.h"
  4. #include "resource.h"
  5. #include "sdk_demo_app_common.h"
  6. #include "stdafx.h"
  7. #include "mess_info.h"
  8.  
  9. class ECLInitSplashUI :
  10.     public CWindowWnd,
  11.     public INotifyUI
  12. {
  13. public:
  14.     ECLInitSplashUI();
  15.     virtual ~ECLInitSplashUI();
  16.     void SetEvent(CSDKDemoAppEvent* pAppEvent);
  17. public:
  18.     virtual LPCTSTR     GetWindowClassName() const { return _T("zSDKDemoUI"); }
  19.     UINT                GetClassStyle() const { return UI_CLASSSTYLE_FRAME | CS_DBLCLKS; };
  20.     virtual UINT        GetSkinRes() { return IDXML_MAINFRAME_UI; }
  21.     UILIB_RESOURCETYPE  GetResourceType() const { return UILIB_RESOURCE; }
  22.  
  23.     virtual void        InitWindow();
  24.     virtual void        OnFinalMessage(HWND) {}
  25.  
  26.     virtual void        Notify(TNotifyUI& msg);
  27.     virtual LRESULT     HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
  28.  
  29.     LRESULT OnClose(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
  30.     LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
  31.  
  32.     void ShowErrorMessage(const wchar_t* error_message);
  33.  
  34.     CSDKDemoAppEvent* GetAppEvent();
  35. protected:
  36.     CPaintManagerUI     m_PaintManager;
  37.     CSDKDemoAppEvent*   m_pAppEvent;
  38.     //CLabelUI*         m_waitingLabelUI;
  39.     CGifAnimUI*         m_gifWaiting;
  40.     CControlUI*         m_InitLoadWindow;
  41. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement