Results 1 to 4 of 4

Thread: How to set a message breakpoint at a subcontrol in a ATL control?

Hybrid View

  1. #1

    Question How to set a message breakpoint at a subcontrol in a ATL control?

    There is a program whose GUI is a ATL dialog. Now, i wanna set a message breakpoint(WM_LBUTTONUP) on its subcontrol. But i can oly get the main dialog's ID using HwndSpy. So, i don't know how to set such a breakpoint. I use OllyDbg. Any idea?

  2. #2
    bp DestroyWindow

  3. #3
    Quote Originally Posted by forgot View Post
    bp DestroyWindow
    why? I only want to set a WM_LBUTTONDOWN message breakpoint in a subcontrol(button) in the main atl window.

  4. #4
    sorry i didn't read your thread carefully and i misunderstand that you need a 'message box breakpoint'

    to set message breakpoint, press alt-v-w or view-window in menu, right click of your control, and select 'message breakpoint on classproc'

Similar Threads

  1. ollydbg, corrupt int3 breakpoint message
    By stephanie in forum The Newbie Forum
    Replies: 4
    Last Post: January 7th, 2013, 18:53
  2. Editable Listview control
    By ZaiRoN in forum Blogs Forum
    Replies: 9
    Last Post: November 11th, 2007, 08:00
  3. Taking control of a prog
    By ReVeR in forum The Newbie Forum
    Replies: 9
    Last Post: December 22nd, 2004, 13:18
  4. Change control properties in VC++
    By !oz! in forum Advanced Reversing and Programming
    Replies: 3
    Last Post: May 28th, 2004, 15:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •