File:  [OS/2 SDKs] / pmsdk / samples / bmap / bmap.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:13 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1988, HEAD
Microsoft OS/2 SDK PM 08-08-1988

/* 
   Header file for BMAP
   Created by Microsoft Corp., 1988
*/
/**********************************************************************\
* Size of maximum string size allocated
\**********************************************************************/
 
#define CCHMAXSTRING   80
 
/**********************************************************************\
*  Resource Ids
\**********************************************************************/
 
#define ID_BMAP        1
#define ID_BITMAP1     2
#define ID_BITMAP2     3
#define ID_BITMAP3     4
 
/**********************************************************************\
*  Constants
\**********************************************************************/
 
#define LISTCOUNT      7
 
/**********************************************************************\
*  IDM - ID for Menu commands
*  IDS - ID for String table
\**********************************************************************/
 
 
#define IDMEXAMPLE       201
#define IDMEXITMENU      203
#define IDMEXIT          204
#define IDMRESUME        205
#define IDMHELP          206
#define IDMEXTHELP       207
#define IDMHELPINDEX     208
#define IDMKEYSHELP      209
 
#define IDMBITMAP        250
#define IDMDRAWPIC       251
#define IDMSAVEPIC       252
#define IDMBLTPIC        253
#define IDMWINDRAW       254
#define IDMGPIBITBLT     255
 
#define IDSNAME          310
#define IDSTEXTSTR       311
#define IDSTERMINATE     312
#define IDSVISIBLE       313
#define IDSEXTHELP       314
#define IDSHELPINDEX     315
#define IDSKEYSHELP      316
#define IDSGENERALHELP   317
 
 
/********************************************************************\
* These procedures must be declared FAR because they are exported
* and called by OS/2 Windows Presentation Manager.
\********************************************************************/
 
MRESULT EXPENTRY BmapWndProc ( HWND, USHORT, MPARAM, MPARAM );
 
 
 
/********************************************************************\
*  These procedures are declared here to get type and parameter
*  checking for calls between modules.  The compiler switches -AS and
*  -AM for SMALL and MIDDLE model will make them NEAR and FAR
*  respectively, so there is no explicit declaration as NEAR or FAR.
\********************************************************************/
VOID BmapHelp             ( HWND, USHORT );
BOOL BmapInitApp          ( VOID );
VOID BmapPaint            ( HWND );
VOID BmapQueryQuit        ( HWND );
VOID MenuGrey             ( USHORT, BOOL );
VOID MenuTick             ( USHORT, BOOL );
VOID SimplePic            ( HPS );
VOID WindowDestroy();
VOID WindowInitialization ( HWND );

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.