GetClassName and GetTitle

To add comments, please log in or register
DrBeardface
165
DrBeardface  
Is anybody familiar with the GetClassName and GetTitle functions in C++ and whether or not they have equivalents in mql4?
alphatrading
102
alphatrading  
DrBeardface:
Is anybody familiar with the GetClassName and GetTitle functions in C++ and whether or not they have equivalents in mql4?

No, there is no MQL equivalent and there is no need of it. You can import and use the functions directly.

DrBeardface
165
DrBeardface  
alphatrading:

No, there is no MQL equivalent and there is no need of it. You can import and use the functions directly.

That's good. How do I do that? I've added #import "user32.dll" at the start, but it still doesn't recognise the command.
William Roeder
20210
William Roeder  
You can't just add that one line; See how WinUser32.mqh does it. There are no such functions listed in my copy, so you can't just include the mqh.
DrBeardface
165
DrBeardface  
whroeder1:
You can't just add that one line; See how WinUser32.mqh does it. There are no such functions listed in my copy, so you can't just include the mqh.
Sorry, see how WinUser32.mqh does what?
William Roeder
20210
William Roeder  
DrBeardface: Sorry, see how WinUser32.mqh does what?

Uses #import. What do you think this thread is about?

To add comments, please log in or register