Hello,
Thanks for your response.
I have implemented the function for AVToolRec as follows.
AVToolRec AVRect;
AVRect.size = sizeof(AVToolRec);
AVRect.GetType = ASCallbackCreateProto(GetTypeProcType, &ToolGetType);
AVRect.DoClick = ASCallbackCreateProto(DoClickProcType, &DoClick);
AVRect.AdjustCursor = ASCallbackCreateProto(AdjustCursorProcType, &AdjustCursor);
AVAppRegisterTool(&AVRect);
ACCB1 ASBool ACCB2 AdjustCursor(AVTool tool, AVPageView pageView, Int16 x, Int16 y)
{
AVSysSetCursor((AVCursor) LoadCursor(NULL, IDC_CROSS)); //Works fine for cross
}
I want to develop the cursor as acrobat provides.. "Selection tool for text and images"
I tried to change the cursor to IDC_BEAM, But it's not useful. Is it possible to create the cursor as acrobat provides and get coordinates for the text selection.
Please help me to solve this.
Regards,
Shilp