Anonymous
September 18th, 2003, 08:50
Is it possible to search (or break) on an indentifier id/handle?
What I mean is, I have for example a button, this button has a handle and an identifier id. Now I want to find some code that modifies something about this button (i.e. changes it's caption or enables the button). I can find the button with the view|windows "tool" but then I can't set a breakpoint on this "window/handle" so that Olly breaks when something is done with that handle/window.
And a 2nd question:
How can I break when I click on a specified button? Can I i.e. set a breakpoint on the BN_CLICKED command?
I hope that I'm clear enough with what I mean with my questions ;-)
Thanks in advance for yours anwer(s)!
P.s. sorry for the topic title, but I couldn't think of a better name for this topic on this short notice.
What I mean is, I have for example a button, this button has a handle and an identifier id. Now I want to find some code that modifies something about this button (i.e. changes it's caption or enables the button). I can find the button with the view|windows "tool" but then I can't set a breakpoint on this "window/handle" so that Olly breaks when something is done with that handle/window.
And a 2nd question:
How can I break when I click on a specified button? Can I i.e. set a breakpoint on the BN_CLICKED command?
I hope that I'm clear enough with what I mean with my questions ;-)
Thanks in advance for yours anwer(s)!
P.s. sorry for the topic title, but I couldn't think of a better name for this topic on this short notice.