Hi,
I need to draw a rectangle from mouse start to end.I have created tool and it is working fine on acrobat 6.but for acrobat 10 when i drawn
rect using this tool then rect is not visible.Is anything need to add to the tool for acrobat 10 so that rect is visible?
void SetUpSignTool(void)
{
/* Set up the AVToolRec. Don't forget to set the size field! */
memset(&gMaskingTool, 0, sizeof(AVToolRec));
signTool.size = sizeof(AVToolRec);
signTool.Activate = ASCallbackCreateProto(ActivateProcType, &SigningToolActivate);
signTool.Deactivate = ASCallbackCreateProto(DeactivateProcType, &SigningToolDeactivate);
signTool.GetType = ASCallbackCreateProto(GetTypeProcType, &SigningToolGetType);
signTool.AdjustCursor = ASCallbackCreateProto(AdjustCursorProcType, &SigningToolAdjustCursor);
signTool.DoClick = ASCallbackCreateProto(DoClickProcType, &SigningToolDoClick);
signTool.ComputeEnabled = ASCallbackCreateProto(AVComputeEnabledProc,&SigningToolIsEnabled);
signTool.computeEnabledData = NULL;
AVAppRegisterTool(&signTool);
}
Please Help me.
Regards,