Table of Contents

zview_GetSelectedArea

Description

Retrieve the selected area rectangle from L3DT's main map view.

Files

Declaration zView.h
Implementation zView.cpp

Function prototype

bool zview_GetSelectedArea(ZSTR hMapName, LPRECT lpRect);

Arguments

Name Type Comment
hMapName ZSTR A handle to a variable of type VarID_string that will receive the name of the map layer that corresponds to the selected area in the application's main window.
lpRect LPRECT A handle to a RECT structure to receive the selected area coordinates.

Return value

False if no area is selected, and true otherwise (indicating success).

Comments

None.