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
Wrap
C/C++ Source or Header
|
1995-05-03
|
1KB
|
63 lines
/*
* STASTRIP.H
* StatStrip Portion of INOLE.DLL
*
* Public class and definitions for the StatStrip control.
*
* Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
*
* Kraig Brockschmidt, Microsoft
* Internet : kraigb@microsoft.com
* Compuserve: >INTERNET:kraigb@microsoft.com
*/
#ifndef _STASTRIP_H_
#define _STASTRIP_H_
#include <book1632.h>
#ifdef __cplusplus
extern "C"
{
#endif //__cplusplus
#define CYSTATSTRIP 23
#define CLASS_STATSTRIP TEXT("statstrip")
//External APIs.
BOOL WINAPI StatStripMessageMap(HWND, HWND, HINSTANCE, UINT, UINT
, UINT, UINT, USHORT, USHORT, USHORT, USHORT, USHORT);
void WINAPI StatStripMenuSelect(HWND, WPARAM, LPARAM);
void WINAPI StatStripMessageDisplay(HWND, USHORT);
//Message equivalents
#define STATM_MESSAGEMAP (WM_USER+0)
#define STATM_MENUSELECT (WM_USER+1)
#define STATM_MESSAGEDISPLAY (WM_USER+2)
//Structure for STATM_MESSAGEMAP
typedef struct tagSTATMESSAGEMAPINIT
{
HWND hWndOwner;
HINSTANCE hInst;
UINT uIDRMap;
UINT idsMin;
UINT idsMax;
UINT cchMax;
USHORT uIDPopupMin;
USHORT uIDPopupMax;
USHORT uIDStatic;
USHORT uIDBlank;
USHORT uIDSysMenu;
} STATMESSAGEMAPINIT, FAR *LPSTATMESSAGEMAPINIT;
#ifdef __cplusplus
}
#endif //__cplusplus
#endif //_STASTRIP_H_