How can I set a breakpoint for a button click using ollydbg?
i am trying to disable a button click on game client, so i want to set break point to catch the button click event. is that possible to happen with ollydbg?
let application make window and buttons then pause it.
in ollyDBG 1 :
view > windows
Message breakpoint on ClassProc
Messages:
select 202 WM LBUTTONUP
Break on all windows with same title
Pause program: On message
Log WinProc arguments: Never
in ollyDBG 1 or 2 :
view > windows
Conditional breakpoint... Shift+F2
[ESP+8]==WM_LBUTTONUP
as your condition and run program