Changeset 3963 for trunk/include/win/toolbar.h
- Timestamp:
- Aug 6, 2000, 10:31:01 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/toolbar.h
r3955 r3963 1 /* $Id: toolbar.h,v 1.7 2000-08-06 09:32:30 sandervl Exp $ */ 1 /* $Id: toolbar.h,v 1.8 2000-08-06 20:31:01 sandervl Exp $ */ 2 2 3 /* 3 4 * Toolbar class extra info 4 5 * 5 6 * Copyright 1998 Eric Kohl 7 * Copyright 1999 Christoph Bratschi 6 8 */ 7 9 … … 9 11 #define __WINE_TOOLBAR_H 10 12 11 #include "commctrl.h" 12 #include "windef.h" 13 #define MAXTOOLNAME 100 //max length of TBBUTTON_INFO.pszName 13 14 14 15 typedef struct tagTBUTTON_INFO … … 21 22 INT iString; 22 23 24 //for our needs 23 25 BOOL bHot; 24 26 INT nRow; 25 27 RECT rect; 26 } TBUTTON_INFO; 28 //Customize dialog 29 BOOL bDelete; //can delete 30 LPWSTR pszName; 31 INT nCustomID; 32 } TBUTTON_INFO; 27 33 28 34 29 35 typedef struct tagTOOLBAR_INFO 30 36 { 31 DWORD dwStructSize; /* size of TBBUTTON struct */ 37 COMCTL32_HEADER header; 38 39 DWORD dwStructSize; /* size of TBBUTTON struct */ 32 40 INT nHeight; /* height of the toolbar */ 33 41 INT nWidth; /* width of the toolbar */ … … 44 52 INT nNumBitmaps; /* number of bitmaps */ 45 53 INT nNumStrings; /* number of strings */ 46 BOOL bUnicode; /* ASCII (FALSE) or Unicode (TRUE)? */47 54 BOOL bCaptured; /* mouse captured? */ 48 55 INT nButtonDown; … … 51 58 HFONT hFont; /* text font */ 52 59 HIMAGELIST himlInt; /* image list created internally */ 53 HIMAGELIST himlDef; /* default image list */60 HIMAGELIST himlDef; /* default image list for TB_SETIMAGELIST*/ 54 61 HIMAGELIST himlHot; /* hot image list */ 55 62 HIMAGELIST himlDis; /* disabled image list */ 56 63 HWND hwndToolTip; /* handle to tool tip control */ 57 HWND hwndNotify; /* handle to the window that gets notifications */58 64 BOOL bTransparent; /* background transparency flag */ 59 65 BOOL bAutoSize; /* auto size deadlock indicator */ 60 66 BOOL bAnchor; /* anchor highlight enabled */ 61 DWORD 62 DWORD 67 DWORD dwExStyle; /* extended toolbar style */ 68 DWORD dwDTFlags; /* DrawText flags */ 63 69 64 COLORREF 70 COLORREF clrInsertMark; /* insert mark color */ 65 71 RECT rcBound; /* bounding rectangle */ 66 INT iVersion;67 72 68 73 TBUTTON_INFO *buttons; /* pointer to button array */ 69 74 LPWSTR *strings; /* pointer to string array */ 75 76 //Customize dialog 77 HWND hwndToolbar; 78 TBUTTON_INFO* oldButtons; 79 INT nNumOldButtons; 80 INT nMaxCustomID; 81 BOOL changed; 70 82 } TOOLBAR_INFO; 71 83 72 73 extern BOOL WINAPI TBARCUST_DialogProc (HWND, UINT, WPARAM, LPARAM);74 84 75 85 extern VOID TOOLBAR_Register (VOID); … … 77 87 78 88 #endif /* __WINE_TOOLBAR_H */ 89
Note:
See TracChangeset
for help on using the changeset viewer.