L_GetZoomViewsCount

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_GetZoomViewsCount(hWnd, uCount)

HWND hWnd;

/* handle to a window */

L_UINT uCount;

/* number of zoomed views associated with the window */

Gets the number of the zoomed views that have been associated with the specified Window. This function is available in the Document/Medical Toolkits.

Parameter

Description

hWnd

Handle to a window.

uCount

Variable to be updated with the number of zoomed views associated with the window.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function will count how many Zoom Views have been created for the specified window. Zoom Views are created by calling the L_CreateZoomView function.

Required DLLs and Libraries

LTZMV

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Windows 95 / 98 / Me, Windows 2000 / XP.

See Also

Functions:

L_WindowHasZoomView, L_CreateZoomView, L_GetZoomViewProps, L_UpdateZoomView, L_DestroyZoomView

Topics:

Using the Zoom View

 

Raster Image Functions: Displaying Images

 

Using the Magnifying Glass

Example

For an example, refer to L_CreateZoomView.