?? hanoi.h
字號:
//////////////////////////////////////////////////////////////////////
LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);
//////////////////////////////////////////////////////////////////////
BOOL InitApplication(HINSTANCE);
BOOL InitInstance(HINSTANCE, int);
//////////////////////////////////////////////////////////////////////
char* szTitle = "Hanoi"; //窗口標題
char* szMainWndClass = "MainWndClass_Mine"; //窗口類名
//////////////////////////////////////////////////////////////////////
LONG OnCommand (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LONG OnCreate (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LONG OnDestroy (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LONG OnPaint (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LONG OnLButtonDown(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LONG OnRButtonDown(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LONG OnHelp (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LONG OnQuit (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LONG OnAbout (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LONG OnStart (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
//////////////////////////////////////////////////////////////////////
class CList;
void move(CList* a, int n, CList* b, HWND hWnd);
void hanoi(int n, CList* pList_x, CList* pList_y, CList* pList_z, HWND hWnd);
//////////////////////////////////////////////////////////////////////
HBITMAP hBmp1,hBmp2,hBmp3,hBmp4,hBmp5,hBmp6,hBmp7,hBmp8,hBmp9,
hBmp10,hBmp11,hBmp12,hBmp13,hBmp14,hBmp15;
//////////////////////////////////////////////////////////////////////
DWORD ThreadHanoi(PVOID param);
DWORD m_dwThread;
//////////////////////////////////////////////////////////////////////
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -