The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CaptureImageOrColor : Continuous recording of the dimensions
#1
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
Code:
Copy      Help
,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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)