Hey, using MFC and just playing around with spy++ and I think this is the info I need to be able to emulate a button click. These were the messages sent when I filtered.
S WM_MOUSEACTIVATE hwndTopLevel:003503CA nHittest:HTCLIENT uMsg:WM_LBUTTONDOWN
S WM_MOUSEACTIVATE fuActivate:MA_ACTIVATE
P WM_LBUTTONDOWN dwKeys:MK_LBUTTON xPos:18 yPos:18
P WM_LBUTTONUP dwKeys:0000 xPos:18 yPos:18
how would I code this in c++ ? I just want to be able to do exactly the same as clicking this using API, am I missing any data to help emulate the click?
yeh to be honest at this point im even looking to be spoon fed the code lol, I have searched MSDN , googled and searched here, I have the buttons handle, I have its caption I just have no idea how I can click it. As I said before I can manipulate everything I want in the parent but I have no idea how I can just click this button!!! anymore suggestions?