QMedical Command Reference
![]() |
![]() ![]() |
QMed_GetAreaTool(areaRef; areaTool):error | |||
![]() |
areaRef | Longint | QMedical area reference |
![]() |
areaTool | Longint | Tool number |
![]() |
error | Longint | Error result |
Returns 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 receives the currently selected tool.
QMedical defines the following constants 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_SetAreaTool | Changes the currently selected tool in a scrollable QMedical plug-in area |