?? pureedit.h
字號:
/*
*******************************************************************************
* The real-time kernel "rtCell" *
* Copyright 2005 taowentao, allrights reserved. *
* File : PureEdit.h *
* By : taowentao 2006-09-02, 2007-05-12 *
*******************************************************************************
*/
#if !defined(PUREEDIT_H)
#define PUREEDIT_H
#if !defined(CONTROL_H)
#include "giCell\Wins\include\Control.h"
#endif
/*
* *
*******************************************************************************
*/
#define CTRL_PEDIT_CURSOR (0x0200)
#define CTRL_PEDIT_INSERT (0x0400)
#define CTRL_PEDIT_READOMLY (0x0800)
#define CTRL_PEDIT_TIME (1000/TIMER_PERIOD/2)
typedef struct {
VIEW *pView;
COLOR editColor;
COLOR selectColor;
COLOR textColor[2];
PKEYDOWN pKeyDown;
BYTE* pText;
POINT ptCatch;
POINT ptText;
CWORD xCursor;
CWORD XSizeCursor;
CWORD Status;
CWORD Timer;
CWORD textAlign;
CWORD textLength;
CWORD selStart;
CWORD selEnd;
} PEDIT;
/*
*******************************************************************************
* *
*******************************************************************************
*/
PEDIT* CreatePureEdit(int left, int top, int width, int height, VIEW* pParent,
BYTE* pText, PKEYDOWN pKeyDown, CWORD Align, CWORD textLen);
const BYTE * GetPureEditText(PEDIT *pEdit);
void DeletePureEdit(PEDIT *pEdit);
/*
*******************************************************************************
* *
*******************************************************************************
*/
#endif /* end of PureEdit.h */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -