home *** CD-ROM | disk | FTP | other *** search
- /*
- * CStatBmp.h
- * $Header: /bcsample/BUGBNCHX/CSTATBMP.H 1 5/28/96 1:11p Dave $
- *
- * Description:
- * Routines that implement a Bitmap display control. Just
- * subclass an existing static control and a bitmap will be displayed.
- * The name assigned to the control is the bitmap that will be loaded.
- *
- * Notes:
- * <implementation notes go here>
- *
- ***********************************************************************
- *
- * Nu-Mega Technologies, Inc.
- * P.O. Box 7780
- * Nashua, NH 03060
- *
- * (c) Copyright 1994, 1995 Nu-Mega Technologies, Inc.
- * ALL RIGHTS RESERVED.
- *
- ***********************************************************************
- *
- **********************************************************************/
- #ifndef _CSTATBMP_H
- #define _CSTATBMP_H
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
- // Handle to a DIB. The DECLARE_HANDLE macro comes from WINNT.H
- DECLARE_HANDLE ( HDIB ) ;
-
- BOOL StaticBitmap_Init ( HWND hwndStatic ) ;
- UINT StaticBitmap_RealizeDIBPalette ( HWND hStatic ) ;
- void StaticBitmap_CleanUp ( HWND hStatic ) ;
-
- #define RECTWIDTH(lpRect) ( (lpRect)->right - (lpRect)->left )
- #define RECTHEIGHT(lpRect) ( (lpRect)->bottom - (lpRect)->top )
-
-
- #ifdef __cplusplus
- }
- #endif
-
-
- #endif // _CSTATBMP_H
-
-