home *** CD-ROM | disk | FTP | other *** search
- /* $Source: /home/harp/1/proto/monoBANK/winnt/zoomin.h,v $ */
- /* $Revision: 1.2 $ $Date: 95/02/11 14:30:51 $ $Author: mg $ */
- /* ----------------------------------------------------------------------------
- *
- * THIS FILE AND ANY ASSOCIATED DOCUMENTATION IS PROVIDED "AS IS" WITHOUT
- * WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
- * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- * PARTICULAR PURPOSE. The user assumes the entire risk as to the accuracy
- * and the use of this file. This file may be used only by licensees of
- * Microsoft Corporation's WIN32 Software Development Kit in accordance with
- * the the terms of the licensee's End User License Agreement for Microsoft
- * Software for the WIN32 Software Development Kit. This file was subsequently
- * modified by Intermetrics, Inc. under license from Microsoft Corporation.
- *
- * Portions (c) 1985-1994 Microsoft Corporation with permission.
- * Microsoft is a registered trademark and Windows and Windows NT are
- * registered trademarks of Microsoft Corporation.
- *
- *---------------------------------------------------------------------------*/
-
- /****************************** Module Header *******************************
- * Module Name: zoomin.h
- *
- * Main header file for the ZoomIn utility.
- *
- * History:
- *
- ****************************************************************************/
-
- #include <windows.h>
-
-
- #define MIN_ZOOM 1
- #define MAX_ZOOM 32
-
- #define FASTDELTA 8
-
- #define BOUND(x,min,max) ((x) < (min) ? (min) : ((x) > (max) ? (max) : (x)))
-
- #define MM10PERINCH 254 // Tenths of a millimeter per inch.
-
- #define NPAL 256 // Number of palette entries.
-
-
- #define MENU_HELP_ABOUT 100
-
- #define MENU_EDIT_COPY 200
- #define MENU_EDIT_REFRESH 201
-
- #define MENU_OPTIONS_REFRESHRATE 300
-
-
- #define DID_ABOUT 1000
-
- #define DID_REFRESHRATE 1100
- #define DID_REFRESHRATEENABLE 1101
- #define DID_REFRESHRATEINTERVAL 1102
-
-
- #define IDMENU_ZOOMIN 2000
-
-
- #define IDACCEL_ZOOMIN 3000
-
-
- #define IDTIMER_ZOOMIN 4000
-
-
- BOOL InitInstance(HINSTANCE hInst, INT cmdShow);
- HPALETTE CreatePhysicalPalette(VOID);
- LONG APIENTRY AppWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
- VOID CalcZoomedSize(VOID);
- VOID DoTheZoomIn(HDC hdc);
- VOID MoveView(INT nDirectionCode, BOOL fFast, BOOL fPeg);
- VOID DrawZoomRect(VOID);
- VOID EnableRefresh(BOOL fEnable);
- VOID CopyToClipboard(VOID);
- BOOL APIENTRY AboutDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
- BOOL APIENTRY RefreshRateDlgProc(HWND hwnd, UINT msg, WPARAM wParam,
- LPARAM lParam);
-