home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / inole2 / inc / stastrip.h < prev   
C/C++ Source or Header  |  1995-05-03  |  1KB  |  63 lines

  1. /*
  2.  * STASTRIP.H
  3.  * StatStrip Portion of INOLE.DLL
  4.  *
  5.  * Public class and definitions for the StatStrip control.
  6.  *
  7.  * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  8.  *
  9.  * Kraig Brockschmidt, Microsoft
  10.  * Internet  :  kraigb@microsoft.com
  11.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  12.  */
  13.  
  14.  
  15. #ifndef _STASTRIP_H_
  16. #define _STASTRIP_H_
  17.  
  18. #include <book1632.h>
  19.  
  20. #ifdef __cplusplus
  21. extern "C"
  22.     {
  23. #endif //__cplusplus
  24.  
  25.  
  26. #define CYSTATSTRIP     23
  27. #define CLASS_STATSTRIP TEXT("statstrip")
  28.  
  29. //External APIs.
  30. BOOL WINAPI StatStripMessageMap(HWND, HWND, HINSTANCE, UINT, UINT
  31.     , UINT, UINT, USHORT, USHORT, USHORT, USHORT, USHORT);
  32. void WINAPI StatStripMenuSelect(HWND, WPARAM, LPARAM);
  33. void WINAPI StatStripMessageDisplay(HWND, USHORT);
  34.  
  35. //Message equivalents
  36. #define STATM_MESSAGEMAP        (WM_USER+0)
  37. #define STATM_MENUSELECT        (WM_USER+1)
  38. #define STATM_MESSAGEDISPLAY    (WM_USER+2)
  39.  
  40.  
  41. //Structure for STATM_MESSAGEMAP
  42. typedef struct tagSTATMESSAGEMAPINIT
  43.     {
  44.     HWND        hWndOwner;
  45.     HINSTANCE   hInst;
  46.     UINT        uIDRMap;
  47.     UINT        idsMin;
  48.     UINT        idsMax;
  49.     UINT        cchMax;
  50.     USHORT      uIDPopupMin;
  51.     USHORT      uIDPopupMax;
  52.     USHORT      uIDStatic;
  53.     USHORT      uIDBlank;
  54.     USHORT      uIDSysMenu;
  55.     } STATMESSAGEMAPINIT, FAR *LPSTATMESSAGEMAPINIT;
  56.  
  57.  
  58. #ifdef __cplusplus
  59.     }
  60. #endif //__cplusplus
  61.  
  62. #endif //_STASTRIP_H_
  63.