interfa1.h
来自「赤壁之战的游戏源代码」· C头文件 代码 · 共 33 行
H
33 行
/////////////////////////
// Interfac.h : v0010
// Written by : Li Haijun
// Compiler : Microsoft Visual C++ 4.0
// v0010 : Jen.3.1997
/////////////////////////
/////////////////////////////////////////////////////////////////////////////
// All button operation function for the interface
#ifndef __INTERFA1_H__
#define __INTERFA1_H__
/////////////////////////////////////////////////
// to show all menu
BOOL FACE_ShowMenu( LPARAM lParam, int CommandId = 0 );
////////////////////////////////////////////////////////////
// to handle all button's command
BOOL FACE_ButtonCommand( HWND hWnd, WPARAM wParam, LPARAM lParam );
// to show command unit on command unit area
void FACE_ShowCommandUnit(int UnitID, DWORD Flag);
//////////////////////////////////////////////////////////////////////////////////
// if receive a surface lost message , do this function to restore the interface
void FACE_SurfaceLost(void);
// to handle the hot key and set button to down
void FACE_HotKeyDown(int wParam, UINT lParam) ;
// to handle the hot key and to post a message to Liu Gang
void FACE_HotKeyUp(int wParam, UINT lParam) ;
// to send a message for the number hot key to manager the 1 - 10 unit
void FACE_NumKey( int wParam, UINT lParam ) ;
// to send a message for user to press Esc key
void FACE_EscKey(BOOL Flag) ;
/////////////////////////////
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?