Download MetaTrader 5

Help for import from "user32.dll" Libraries

To add comments, please log in or register
They are making profit already using Freelance service. You can join them!
SASY
10
SASY 2015.09.27 14:04 
this is c# code for import  "EnumChildWindows" from user32.dll
[DllImport("user32.dll")] private static extern int EnumChildWindows(int hWnd, EnumWindowsProc ewp, int lParam); 
public delegate bool EnumWindowsProc(int hWnd, int lParam);
what i use instead enumWindowsProc in mql4?
JC
1454
JC 2015.09.27 17:33  
SASY:
this is c# code for import  "EnumChildWindows" from user32.dllwhat i use instead enumWindowsProc in mql4?

Not possible. You can't pass a pointer to an MQL4 function into a Win32 API call.

Depending on what you are trying to do, you may instead be able to use MQL4's ChartFirst() and ChartNext().

SASY
10
SASY 2015.09.27 17:53  

tnx for replay

I want get one of child Windows title from win 32 program not from mt4

all child window have same class name so i cant get my consider hwnd child window. any idea?

To add comments, please log in or register