📄 uitimepanel.h
字号:
/*********************************************************************/
// 文 件 名: uiTimepanel.h
// 程序说明: Timepanel控件
// 程序设计: 党德华
// 2001.11.05 设计完成 说明文档:R004-S215-0001
// 程序审查: 宋军霞
// 2002.01.22 审查完成 说明文档:R004-S215-0001
// 项目编号: R004-S215
// 版 本: V1.0
// 版 权: Reality Plus Technology (ShenZhen) Co.,Ltd.
/*********************************************************************/
#ifndef _GUI_TIMEPANEL_H_
#define _GUI_TIMEPANEL_H_
#include <typedefine.h>
#define _DEBUG_TIMEPANEL 0
/** style format **/
#define TIMEPANEL_NO_APM 0x0001
#define TIMEPANEL_NO_SEC 0x0002
#define TIMEPANEL_NO_MIN 0x0004
#define TIMEPANEL_NO_HOUR 0x0008
#define TIMEPANEL_24HR 0x0010 //24小时制
#define TIMEPANEL_APM 0x0000
#define TIMEPANEL_SEC 0x0000
#define TIMEPANEL_MIN 0x0000
#define TIMEPANEL_HOUR 0x0000
#define TIMEPANEL_12HR 0x0000 //12小时制
#define TIMEPANEL_OK 1
#define TIMEPANEL_CANCLE 0
typedef struct tagGuiTimePanel
{
WORD hour; //初始时间
WORD min;
WORD sec;
WORD interval_hour;
WORD interval_min;
WORD interval_sec;
WORD style;
}TGuiTimePanel;
/*********************************************************************/
//para: tiempanel coordinate ,struce refer to uiTimepanel.h and title
//dest: popup the timepanel dialog
//return:
//cancel: 0
//confirm: 1
/*********************************************************************/
DLL_EXP(int) guiTimePanel_Popup(WORD left,WORD top,TGuiTimePanel *time,const char *caption);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -