### QPx_GetAreaCurrentTool

QPx_GetAreaCurrentTool(areaRef; areaTool):error
| areaRef | Longint | QPix area reference
| areaTool | Longint | Tool number
| error | Longint | Error result

Returns the currently selected tool in a scrollable QPix plug-in area.

The QPix plug-in area is specified by areaRef. If areaRef is not a valid QPix plug-in area reference, qpx_paramErr is returned.

Parameter areaTool receives the currently selected tool.

QPix defines the following constants for identifying tools:

qpx_PointerTool | 0 | Pointer tool
qpx_MarqueeTool | 1 | Marquee tool
qpx_ZoomTool | 2 | Magnifying lens (zoom) tool
qpx_HandTool | 3 | Free scrolling (hand) tool

Related commands

QPx_SetAreaCurrentTool | Changes the currently selected tool in a scrollable QPix plug-in area

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:44:04