⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zwin.h

📁 sybain下的手机编程源码,类似windows下的资源管理器
💻 H
字号:
#ifndef ZWIN_H_HEADER_INCLUDED_C005D717
#define ZWIN_H_HEADER_INCLUDED_C005D717

#include <windows.h>

class zWin 
{
public:
    HWND		m_hWnd;
	HINSTANCE	m_hInst;
public:
    zWin();
    virtual ~zWin();

    static LRESULT CALLBACK WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);

    virtual WPARAM MessageLoop();
    virtual void GetWndClassEx(WNDCLASS &wc);
    BOOL RegisterClass(LPCTSTR lpszClass, HINSTANCE hInst);
    BOOL ShowWindow(int nCmdShow) ;
    BOOL UpdateWindow() ;
	virtual bool CreateEx(DWORD dwExStyle, LPCTSTR lpszClass, LPCTSTR lpszName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hParent, HMENU hMenu, HINSTANCE hInst);
	virtual bool CreateWin(HINSTANCE hInstance, int TemplateId, HWND hWndParent);
	virtual void OnCreate();
	virtual void OnDestory();

    virtual LRESULT WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
    virtual void OnDraw(HDC hDC);
};



#endif /* ZWIN_H_HEADER_INCLUDED_C005D717 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -