Zoom

#include "BIDISP.H"

 

VOID CALLBACK Zoom( HWND     hWnd,
LONG       lPoint,
LPRECT   lpRect)

Description

This function computes Zoom scaling factor for a display function. The lPoint is Mouse position. This function should be called in response to WM_LBUTTONDOWN or WM_RBUTTONDOWN. The lpRect will return the new scaling factor. It should be used with DisplayImage or DisplayDIBImage().

This function is OBSOLETE. Use the Zoom functions listed under Group C.

Parameters

HWND

hWnd

The client window handle.

LONG

lPoint

The mouse position.

LPRECT

lpRect

The returned scaling factor.

Return values

None.

Requirements

Header :     Declared in BIDisp.h; include BIDisp.h.

Library :    Use BIDisp.lib.

DLLs :       BIDisp.dll.