⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simedit.h

📁 在ADS环境下MiniGUI的源码
💻 H
字号:
/*
** $Id: simedit.h,v 1.7 2004/07/22 09:38:11 snig Exp $
**
** simedit.h: the head file of Simple Edit Control module.
**
** Copyright (C) 2003, Feynman Software.
** Copyright (C) 1999~2002, Wei Yongming.
**
** Create date: 1999/8/26
*/

#ifndef GUI_SIMEDIT_H_
#define GUI_SIMEDIT_H_

#ifdef  __cplusplus
extern  "C" {
#endif

#define LEN_SIMEDIT_BUFFER       512

typedef struct tagSIMEDITDATA
{
    DWORD   status;         // status of box

    int     bufferLen;      // length of buffer
    char*   buffer;         // buffer

    int     dataEnd;        // data end position
    int     editPos;        // current edit position
    int     caretOff;       // caret offset in box
    int     startPos;       // start display position
    
    int     charWidth;      // width of a character
    
    char    passwdChar;     // password character
    
    int     leftMargin;     // left margin
    int     topMargin;      // top margin
    int     rightMargin;    // right margin
    int     bottomMargin;   // bottom margin
    
    int     hardLimit;      // hard limit

} SIMEDITDATA;
typedef SIMEDITDATA* PSIMEDITDATA;
    
BOOL RegisterSIMEditControl (void);
void SIMEditControlCleanup (void);

#ifdef __cplusplus
}
#endif

#endif // GUI_SIMEDIT_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -