📄 mouse.h
字号:
/*-----------------------------------------------------------------------*/
/* FS-MTS 1.0 Ver. */
/* Copyright (C) 2000 FIRST SAIL */
/* All Rights Reserved */
/* Warning: */
/* This program author is GuoHeng,this system is protected */
/* by copyright law and international Treaties . Unauthorized */
/* reproduction of distribution of this system, or any portion */
/* of it , may result in severe civil and criminal penalties , */
/* and will be prosecuted to the maximum extern possible under */
/* the law. */
/* */
/* Update Date:2002-06-25 */
/* Update Time:22:35:00 */
/*-----------------------------------------------------------------------*/
#ifndef __MOUSE_H_H_
#define __MOUSE_H_H_
#define MOUSE_LEFT 0x1
#define MOUSE_RIGHT 0x2
#define MOUSE_MIDDLE 0x4
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE
#endif
//#include "MyFrame.h"
typedef struct __tagMOUSEMSG
{
POINT point;
BOOL exist;
int statue;
int times;
BOOL visible;
}MOUSEMSG;
void far FcMouse(unsigned int ax,unsigned int bx,unsigned int cx,unsigned int dx);
void far ResetMouse();
void far OpenMouse();
void far CloseMouse();
void far SetMouseScreen(int nMinX, int nMaxX, int nMinY, int nMaxY);
void far SetMouseScale(int nScaleX,int nScaleY);
void far DrawCursor(int nX, int nY, BOOL bDisplay);
BOOL far GetMouse();
void far SetMouse(BOOL bFlags);
int far GetMouseX();
int far GetMouseY();
BOOL far IsMouseDown(int nFormat=MOUSE_LEFT);
void far SetMouseLocation(int nX, int nY);
//void far SetTransrateKey(BOOL bKey);
//BOOL far GetTransrateKey();
BOOL far IsDblMouse();
BOOL far IsExistMouse();
BOOL far JudgeMouseRange(int nLeft,int nTop,int nRight,int nBottom);
//void far SetMouseFc(void far (*pFc)());
//void far (*GetMouseFc())();
void AfxRegisterMouseFc(void far (*pFc)(unsigned int ax,
unsigned int bx, unsigned int cx,unsigned int dx));
void far LockMouse();
void far UnlockMouse();
void far SetLockMouse(BOOL bLock);
BOOL far GetLockMouse();
void far AfxSetRemoteMouse(int nX, int nY, int nFormat);
void far AfxRegisterRemoteMouseFc(void far (*pFc)() = NULL);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -