QMedical Command Reference
![]() |
![]() |
QMed_SetAreaTool(areaRef; areaTool):error | |||
![]() |
areaRef | Longint | QMedical area reference |
![]() |
areaTool | Longint | Tool number |
![]() |
error | Longint | Error result |
Changes the currently selected tool in a scrollable QMedical plug-in area.
The QMedical plug-in area is specified by areaRef. If areaRef is not a valid QMedical plug-in area reference, qmed_paramErr is returned.
Parameter areaTool specifies the tool to be selected. The designated tool must be enabled for the area (using QMed_SetAreaToolset, or via the Advanced Properties dialog).
QMedical defines the following constands for identifying tools:
qmed_PointerTool | 0 | Pointer tool |
qmed_MarqueeTool | 1 | Marquee tool |
qmed_ZoomTool | 2 | Magnifying lens (zoom) tool |
qmed_HandTool | 3 | Free scrolling (hand) tool |
qmed_VOITool | 4 | VOI tool |
qmed_PixelValueTool | 5 | Pixel value tool |
Related commands
QMed_GetAreaTool | Returns the currently selected tool in a scrollable QMedical plug-in area |