Log in

View Full Version : How to set BP on clicking a button or reading the contents of a textbox?


ActionMan
December 22nd, 2005, 17:55
Greetings!

How to set a breakpoint on clicking a button? I'd like Olly to break when I click a button in a window of a program.

And how to set a breakpoint on reading text from a textbox?


Thx!

Ricardo Narvaja
December 22nd, 2005, 20:14
look the apis used by the program generally GetWindowTextA or so and put a BPin the api, or use messagebreakpoints (WM_LBUTTONUP is good)

Ricardo