Download MetaTrader 5

Get handle of Panel

To add comments, please log in or register
Martin Millar
12
Martin Millar  

Hi,

I can use 'GetParent()' within 'user32.dll' to get the handle of the current chart.  I can then manipulate that chart.

 

How do I get the handle of a Panel that I've created within that chart?  So

 

int Onit(void)

{

ExtDialog = new CPanelDialog;

ExtDialog.Create(...

 etc

}

How do I get the handle of ExtDialog so I can manipulate it.  Specifically, I want to remove the border, and I can't work out how to do it.

 

Thanks 

Carl Schreiber
7364
Carl Schreiber  
You have to learn (read about) the basics of OOP! Start searching in the Doc. or as an example with this article to understand the system of constructors, methods, classes, ...
Martin Millar
12
Martin Millar  
I'm looking for an example.  Thanks.
To add comments, please log in or register