summaryrefslogtreecommitdiffstats
path: root/private/ole2ui32/iconbox.h
blob: dc6084052fe69556675e34bd60b54efe66a610bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * ICONBOX.H
 *
 * Structures and definitions for the IconBox control.
 *
 * Copyright (c)1992 Microsoft Corporation, All Right Reserved
 */


#ifndef _ICONBOX_H_
#define _ICONBOX_H_

// Function prototypes
BOOL FIconBoxInitialize(HINSTANCE, HINSTANCE);
void IconBoxUninitialize(void);
LONG CALLBACK IconBoxWndProc(HWND, UINT, WPARAM, LPARAM);

// Window extra bytes contain the bitmap index we deal with currently.
#define CBICONBOXWNDEXTRA              (sizeof(HGLOBAL)+sizeof(BOOL))
#define IBWW_HIMAGE                    0
#define IBWW_FLABEL                    (sizeof(HGLOBAL))

// Control messages
#define IBXM_IMAGESET                   (WM_USER+0)
#define IBXM_IMAGEGET                   (WM_USER+1)
#define IBXM_IMAGEFREE                  (WM_USER+2)
#define IBXM_LABELENABLE                (WM_USER+3)

#endif //_ICONBOX_H_