Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/3706-standardlibrary-controls-crect-crectsetbound.md
T
2026-06-23 21:47:51 +08:00

679 B

SetBound

Sets new coordinates of the area using CRect class coordinates.

void  SetBound(
   const & CRect  rect      // CRect class
   )

Return Value

None.

SetBound

Sets new coordinates of the area.

void  SetBound(
   const int  l      // left
   const int  t      // top
   const int  r      // right
   const int  b      // bottom
   )

Parameters

l

[in]  X coordinate of the upper-left corner.

t

[in]  Y coordinate of the upper-left corner.

r

[in]  X coordinate of the lower-right corner.

b

[in]  Y coordinate of the lower-right corner.

Return Value

None.