PTool(short cTool);
kPointerTool (these are defined in PKeywords.h)Layout view only. The PTool command works only in layout view.
kTextTool
kOvalTool
kRoundedRectTool
kDiagLineTool
kPerpLineTool
kPolygonTool
kZoomTool
kRotationTool
kCropTool
Example. The following example selects the oval tool in the Tool palette. It first checks the tool with the PGetTool query.
PGetTool currTool();
if (currTool == kPolygonTool) PTool(kOvalTool);
Comments or suggestions? Contact Adobe Developer Support