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

📄 label.h

📁 rtCell 实时微内核-具有下列功能: 1. 完全抢占的实时微内核结构
💻 H
字号:
/*
 *******************************************************************************
 *                      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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -