source: trunk/include/win/toolbar.h@ 3955

Last change on this file since 3955 was 3955, checked in by sandervl, 25 years ago

PD: Updated comctl32 to Wine 20000801

File size: 2.5 KB
Line 
1/* $Id: toolbar.h,v 1.7 2000-08-06 09:32:30 sandervl Exp $ */
2/*
3 * Toolbar class extra info
4 *
5 * Copyright 1998 Eric Kohl
6 */
7
8#ifndef __WINE_TOOLBAR_H
9#define __WINE_TOOLBAR_H
10
11#include "commctrl.h"
12#include "windef.h"
13
14typedef struct tagTBUTTON_INFO
15{
16 INT iBitmap;
17 INT idCommand;
18 BYTE fsState;
19 BYTE fsStyle;
20 DWORD dwData;
21 INT iString;
22
23 BOOL bHot;
24 INT nRow;
25 RECT rect;
26} TBUTTON_INFO;
27
28
29typedef struct tagTOOLBAR_INFO
30{
31 DWORD dwStructSize; /* size of TBBUTTON struct */
32 INT nHeight; /* height of the toolbar */
33 INT nWidth; /* width of the toolbar */
34 INT nButtonHeight;
35 INT nButtonWidth;
36 INT nBitmapHeight;
37 INT nBitmapWidth;
38 INT nIndent;
39 INT nRows; /* number of button rows */
40 INT nMaxTextRows; /* maximum number of text rows */
41 INT cxMin; /* minimum button width */
42 INT cxMax; /* maximum button width */
43 INT nNumButtons; /* number of buttons */
44 INT nNumBitmaps; /* number of bitmaps */
45 INT nNumStrings; /* number of strings */
46 BOOL bUnicode; /* ASCII (FALSE) or Unicode (TRUE)? */
47 BOOL bCaptured; /* mouse captured? */
48 INT nButtonDown;
49 INT nOldHit;
50 INT nHotItem; /* index of the "hot" item */
51 HFONT hFont; /* text font */
52 HIMAGELIST himlInt; /* image list created internally */
53 HIMAGELIST himlDef; /* default image list */
54 HIMAGELIST himlHot; /* hot image list */
55 HIMAGELIST himlDis; /* disabled image list */
56 HWND hwndToolTip; /* handle to tool tip control */
57 HWND hwndNotify; /* handle to the window that gets notifications */
58 BOOL bTransparent; /* background transparency flag */
59 BOOL bAutoSize; /* auto size deadlock indicator */
60 BOOL bAnchor; /* anchor highlight enabled */
61 DWORD dwExStyle; /* extended toolbar style */
62 DWORD dwDTFlags; /* DrawText flags */
63
64 COLORREF clrInsertMark; /* insert mark color */
65 RECT rcBound; /* bounding rectangle */
66 INT iVersion;
67
68 TBUTTON_INFO *buttons; /* pointer to button array */
69 LPWSTR *strings; /* pointer to string array */
70} TOOLBAR_INFO;
71
72
73extern BOOL WINAPI TBARCUST_DialogProc (HWND, UINT, WPARAM, LPARAM);
74
75extern VOID TOOLBAR_Register (VOID);
76extern VOID TOOLBAR_Unregister (VOID);
77
78#endif /* __WINE_TOOLBAR_H */
Note: See TracBrowser for help on using the repository browser.