mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:25:52 +00:00
Add TBMETRICS structure and associated constants.
svn path=/trunk/; revision=17561
This commit is contained in:
parent
21927423a2
commit
5c7930f963
1 changed files with 21 additions and 0 deletions
|
@ -636,6 +636,10 @@ extern "C" {
|
|||
#define TB_SETUNICODEFORMAT CCM_SETUNICODEFORMAT
|
||||
#define TB_GETUNICODEFORMAT CCM_GETUNICODEFORMAT
|
||||
#endif
|
||||
#if (_WIN32_WINNT >= 0x0501)
|
||||
#define TB_GETMETRICS (WM_USER + 101)
|
||||
#define TB_SETMETRICS (WM_USER + 102)
|
||||
#endif /* _WIN32_WINNT >= 0x0501 */
|
||||
#define TBBF_LARGE 1
|
||||
#define TBN_GETBUTTONINFOA (TBN_FIRST-0)
|
||||
#define TBN_BEGINDRAG (TBN_FIRST-1)
|
||||
|
@ -670,6 +674,11 @@ extern "C" {
|
|||
#define TBNF_TEXT 2
|
||||
#define TBNF_DI_SETITEM 0x10000000
|
||||
#endif /* _WIN32_IE >= 0x0500 */
|
||||
#if (_WIN32_WINNT >= 0x0501)
|
||||
#define TBMF_PAD 1
|
||||
#define TBMF_BARPAD 2
|
||||
#define TBMF_BUTTONSPACING 4
|
||||
#endif /* _WIN32_IE >= 0x0501 */
|
||||
#define TTS_ALWAYSTIP 1
|
||||
#define TTS_NOPREFIX 2
|
||||
#if( _WIN32_IE >= 0x0500 )
|
||||
|
@ -2269,6 +2278,18 @@ typedef struct {
|
|||
UINT nIDNew;
|
||||
int nButtons;
|
||||
} TBREPLACEBITMAP,*LPTBREPLACEBITMAP;
|
||||
#if (_WIN32_WINNT >= 0x0501)
|
||||
typedef struct {
|
||||
UINT cbSize;
|
||||
DWORD dwMask;
|
||||
INT cxPad;
|
||||
INT cyPad;
|
||||
INT cxBarPad;
|
||||
INT cyBarPad;
|
||||
INT cxButtonSpacing;
|
||||
INT cyButtonSpacing;
|
||||
} TBMETRICS, *LPTBMETRICS;
|
||||
#endif /* _WIN32_WINNT >= 0x0501 */
|
||||
typedef struct tagNMTOOLBARA {
|
||||
NMHDR hdr;
|
||||
int iItem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue