?? action.cpp
字號:
//
// 使用者的動作(基礎)
//
// Copyright (c) 2000-2002 Chihiro.SAKAMOTO (HyperWorks)
//
#include "stdafx.h"
#include "Action.h"
#include "MainWin.h"
//
// 動作(Action)的初始化
//
void CAction::Initialize(CMainWin *parent, unsigned param1, unsigned param2)
{
Parent = parent;
Param1 = param1;
Param2 = param2;
}
//
// 押下鼠標左鍵時的處理
//
void CAction::LButtonDown(UINT, CPoint)
{
}
//
// 放開鼠標左鍵時的處理
//
void CAction::LButtonUp(UINT, CPoint)
{
}
//
// 押下鼠標右鍵時的處理
//
void CAction::RButtonDown(UINT, CPoint)
{
}
//
// 放開鼠標右鍵時的處理
//
void CAction::RButtonUp(UINT, CPoint)
{
}
//
// 移動鼠標時的處理
//
void CAction::MouseMove(UINT, CPoint)
{
}
//
// 按下鍵盤時的處理
//
void CAction::KeyDown(UINT)
{
}
//
// IDLE處理
//
BOOL CAction::IdleAction()
{
return FALSE;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -