Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
875 B

  1. /*
  2. * ICONBOX.H
  3. *
  4. * Structures and definitions for the IconBox control.
  5. *
  6. * Copyright (c)1992 Microsoft Corporation, All Right Reserved
  7. */
  8. #ifndef _ICONBOX_H_
  9. #define _ICONBOX_H_
  10. //Function prototypes
  11. BOOL FIconBoxInitialize(HINSTANCE, HINSTANCE, LPTSTR);
  12. void IconBoxUninitialize(void);
  13. LONG CALLBACK EXPORT IconBoxWndProc(HWND, UINT, WPARAM, LPARAM);
  14. //Window extra bytes contain the bitmap index we deal with currently.
  15. #define CBICONBOXWNDEXTRA (sizeof(HGLOBAL)+sizeof(BOOL))
  16. #define IBWW_HIMAGE 0
  17. #define IBWW_FLABEL (sizeof(HGLOBAL))
  18. //Control messages
  19. #define IBXM_IMAGESET (WM_USER+0)
  20. #define IBXM_IMAGEGET (WM_USER+1)
  21. #define IBXM_IMAGEFREE (WM_USER+2)
  22. #define IBXM_LABELENABLE (WM_USER+3)
  23. #endif //_ICONBOX_H_
  24.