hi dear friends.
i have deals with MT5 open positions list that is implemented as ListView control with class style LVS_OWNERDATA.
i enjected into MT5 own DLL and try to read text for <item, subutem> but failed, need help or advice ...
here is my DLL part of code:
You need to see if this listview control uses the lvs_ownerdrawfixed style. If you use this style, you don't need to implement the corresponding function of lvn_getdispinfo in the program. MT4 does this. When you send the lvm_getitemtext message, the system It sends the lvn_getdispinfo notification to the control to get the content (text and picture) of a column and field in a row in the list, so your code above can't get the text content at all. Of course, there are other methods to get it, but that way It is complicated, it is better to use EA script to obtain the order data directly
At the same time, give you an exe file, this file, your code above can not get the contents of the list
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi dear friends.
i have deals with MT5 open positions list that is implemented as ListView control with class style LVS_OWNERDATA.
i enjected into MT5 own DLL and try to read text for <item,subutem> but failed, need help or advice...
here is my DLL part of code: