QPix Command Reference
![]() |
![]() ![]() |
QPx_SetAreaCurrentTool(areaRef; areaTool):error | |||
![]() |
areaRef | Longint | QPix area reference |
![]() |
areaTool | Longint | Tool number |
![]() |
error | Longint | Error result |
Changes 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 specifies the tool to be selected. The designated tool must be enabled for the area (using QPx_SetAreaTools, or via the Advanced Properties dialog).
QPix defines the following constands 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_GetAreaCurrentTool | Returns the currently selected tool in a scrollable QPix plug-in area |