08-24-2015, 09:42 AM
I need to monitor the dimensions of the rectangle being drawn in CaptureImageOrColor function. With the following statements I can do that, but after a rectangle is drawn. Could you please advice for a continuous recording while the rectangle is being drawn? Many thanks in advance.
Function tempf08
Function tempf08
,if(d.flags&32) DT_Ok hDlg; ret
,d.inmenu=1
,int cx cy
,cx=d.r.right-d.r.left
,cy=d.r.bottom-d.r.top
,str sm=F"{d.r.top} {d.r.bottom} {d.r.left} {d.r.right} : {cx} - {cy}"
,ShowTooltip_Smart sm -1 10 10 300 7 "Rectangle dimensions"
,z=ShowMenu(_s hDlg 0 2)
,shutdown -6 0 "ShowTooltip_Smart"
,d.inmenu=0
,if(!z) ret