label.h
来自「rtCell 实时微内核-具有下列功能: 1. 完全抢占的实时微内核结构」· C头文件 代码 · 共 54 行
H
54 行
/*
*******************************************************************************
* The real-time kernel "rtCell" *
* Copyright 2005 taowentao, allrights reserved. *
* File : Label.h *
* By : taowentao 2006-09-02, 2007-05-12 *
*******************************************************************************
*/
#if !defined(LABEL_H)
#define LABEL_H
#if !defined(CONTROL_H)
#include "giCell\Wins\include\Control.h"
#endif
/*
*******************************************************************************
* *
*******************************************************************************
*/
#define CTRL_HTML_LABEL (0x0200) /* for lable only */
typedef struct {
VIEW *pView;
COLOR LabelColor;
COLOR CaptionColor;
PCLICK pOnClick;
BYTE* pCaption;
POINT ptCatch;
CWORD Status;
CWORD CaptionAlign;
} LABEL;
/*
*******************************************************************************
* *
*******************************************************************************
*/
LABEL* CreateLabel(int left, int top, int width, int height, VIEW* pParent,
BYTE* pCaption, PCLICK pOnClick, CWORD Align, CWORD Style);
void DeleteLabel(LABEL *pLabel);
void SetLabelText(LABEL *pLbl, BYTE *pStr);
void SetLabelAlign(LABEL *pLbl, CWORD Align);
/*
*******************************************************************************
* *
*******************************************************************************
*/
#endif /* end of Label.h */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?