home *** CD-ROM | disk | FTP | other *** search
/ PC-Test Pro / PCTESTPRO.iso / prgmmgrs / wcm44 / entp / toolbar.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-20  |  726 b   |  30 lines

  1.  
  2. #define    WM_TBADDBUTTON    (WM_USER+31)
  3. #define    WM_TBDELBUTTON    (WM_USER+32)
  4. #define    WM_TBGRAYBUTTON    (WM_USER+33)
  5. #define    WM_TBHELPBUTTON    (WM_USER+34)
  6.  
  7. #define    TB_BUTTON    1
  8. #define    TB_SEPARATOR    2
  9. #define    TB_MESSAGE    3
  10. #define    TB_COMBOBOX    4
  11. #define    TB_END        5
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {            // Assume C declarations for C++
  15. #endif
  16.  
  17. int WINAPI GetToolbarHeight(void);
  18. LRESULT CALLBACK ToolbarWndProc(HWND, UINT, WPARAM, LPARAM);
  19. HWND WINAPI CreateButtonBar(HWND, int);
  20. void WINAPI DestroyButtonBar(HWND);
  21.  
  22. typedef HWND    (WINAPI *LPFNCREATEBUTTONBAR)(HWND, int);
  23. typedef VOID    (WINAPI *LPFNDESTROYBUTTONBAR)(HWND);
  24. typedef int        (WINAPI *LPFNGETTOOLBARHEIGHT)(void);
  25.  
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29.  
  30.