How to use CWnd::Left() as Set Method

 

I'm unable to set any of the Left() / Right() for a certain CWnd instance. maybe Im wrong but I expect to change the dimensions of - for example - a CEdit object using these methods. could anyone provide an example for the use case?

whenever I use

CWnd::Left(100)

I can confirm that the output from Left() is 100, but nothing actually happens on the chart.

Documentation on MQL5: Standard Library / Panels and Dialogs / CWnd / Left
Documentation on MQL5: Standard Library / Panels and Dialogs / CWnd / Left
  • www.mql5.com
Gets the X coordinate of the upper-left corner of the control. Return Value X coordinate of the upper-left corner of the control .   Sets the...
 
hematinik:

I'm unable to set any of the Left() / Right() for a certain CWnd instance. maybe Im wrong but I expect to change the dimensions of - for example - a CEdit object using these methods. could anyone provide an example for the use case?

whenever I use

I can confirm that the output from Left() is 100, but nothing actually happens on the chart.

Use Move and Size instead of it.

 
Samuel Manoel De Souza #:

Use Move and Size instead of it.

could you please explain the reason? any chance I make use of these methods?