Disliked{quote} lol Keit, you're right... that is my first try before i dig a little deeper about mt windows structure. what i do now is : hwnd1 >> get chart view window handle using WindowHandle(Symbol(), Period()) hwnd2 >> GetParent(hwnd1) >> chart window handle (mdi client) hwnd3 >> GetParent(hwnd2) >> mdi window handle hwnd4 >> GetParent(hwnd3) >> mt4 main window handle and yes that sendkey event is tricky {image}Ignored
- Joined Jul 2011 | Status: Member | 7,740 Posts | Online Now
If you trade like me, you'll be homeless and broke within a week.
Goldilocks All Time Return:
109.1%