?? newtoolbar.h
字號:
/*** $Id: newtoolbar.h,v 1.6 2003/06/17 08:20:43 weiym Exp $**** newtoolbar.h: the head file of NewToolBar control module.**** Copyright (C) 2003 Feynman Software.**** Create date: 2003/04/24*/#ifndef __NEWTOOLBAR_H_#define __NEWTOOLBAR_H_#ifdef __cplusplusextern "C" {#endif#define WIDTH_SEPARATOR 5#define GAP_BMP_TEXT_HORZ 2#define GAP_BMP_TEXT_VERT 2#define GAP_ITEM_ITEM_HORZ 2#define MARGIN_HORZ 9#ifdef _FLAT_WINDOW_STYLE#define MARGIN_VERT 2#else#define MARGIN_VERT 3#endiftypedef struct ntbItem{ struct ntbItem* next; DWORD flags; int id; int bmp_cell; char text [NTB_TEXT_LEN + 1]; char tip [NTB_TIP_LEN + 1]; RECT rc_item; RECT rc_text; RECT rc_hotspot; HOTSPOTPROC hotspot_proc; DWORD add_data;} NTBITEM;typedef NTBITEM* PNTBITEM;typedef struct ntbCtrlData { NTBITEM* head; NTBITEM* tail; DWORD style; BITMAP* image; int nr_cells; int nr_cols; int w_cell; int h_cell; int nr_items; NTBITEM* sel_item; BOOL btn_down;} NTBCTRLDATA;typedef NTBCTRLDATA* PNTBCTRLDATA;BOOL RegisterNewToolbarControl (void);void NewToolbarControlCleanup (void);#ifdef __cplusplus}#endif#endif /* __NEWTOOLBAR_H_ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -