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