January 22nd, 2012, 09:56 AM
Capture Text from external app datagrid
I am having trouble finding the correct message for hooking to retrieve text from external app which uses windowsforms10.window.8.app.0.378734a class window to display data in a grid. I want to capture the data when data of any cell changes. I have tried Spy++ for messages but it seems it send only WM_Paint and WM_ERASEBKGROUND messages. I tried to hook WM_PAINT and i am able to get WM_PAINT message in my program but lParam and wParam both contains 0 so i am not getting the idea from where i can get the data. I injected a DLL to capture all the msg from that app but still not able to find out the method. Is there any way to capture CellValueChanged event of this data grid. Please help otherwise this problem will make me crazy.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!