toolbar.h
来自「在ecos 下mingui 的移植开发」· C头文件 代码 · 共 63 行
H
63 行
//// $Id: button.h,v 1.2 2000/09//// toolbar.h:the head file of Button Control module.//// Copyright (c) 2000 linpus.////// Note:// Originally by .//// Create date: 2000/9/20//#ifndef __TOOLBAR_H_#define __TOOLBAR_H_#ifdef __cplusplusextern "C" {#endiftypedef struct toolbarCTRL{ int nCount; int ItemWidth; int ItemHeight; struct toolbarItemData* head; struct toolbarItemData* tail; struct toolbarCTRL* nline; //control linked list next //2000/10/19 added by leon begin int iSel; // selected selected pic's insPos int iLBDn; // whether LBtn down in the valid pic 0:no 1:yes int iMvOver; // add end }TOOLBARCTRL;typedef TOOLBARCTRL* PTOOLBARCTRL;typedef struct toolbarItemData{ RECT* RcTitle; // title and where clicked int id; //id int insPos; PBITMAP NBmp; PBITMAP HBmp; PBITMAP DBmp; struct toolbarItemData* next; //page linked list next} TOOLBARITEMDATA;typedef TOOLBARITEMDATA* PTOOLBARITEMDATA;BOOL RegisterToolbarControl (void);void ToolbarControlCleanup (void);int ToolbarCtrlProc (HWND hWnd, int uMsg, WPARAM wParam, LPARAM lParam);#ifdef __cplusplus}#endif#endif // GUI_TOOBAR_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?