Results 1 to 3 of 3

Thread: Finding a button's code

Hybrid View

  1. #1
    pompeii
    Guest

    Finding a button's code

    Can anyone tell me how to find the code attached to a button in SoftIce or a disassembler? I've messed around with it some in SoftIce. The best thing I can think of is to but a BMSG on WM_COMMAND. I'm still having a hard time finding the button's code. Any ideas? Thanks.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    What exactly are you looking for? the hwnd of the button, or the control code, that takes action according to messages received?
    The hwnd can be found easily, by doing your basic hwnd <app name here> and then skimming thru the different hwnds till you find the right one (this would ofcourse be done in softice). The other is harder, since it would depend on how the button was created. You might wanna do a "bpx createwindowexa" and then check whether or not it's a button that's created. Then you can find the routine that handles the messages (usually the parent window), and then act accordingly.

    Bluajn cxielojn
    Fake

  3. #3
    lololol
    Guest
    h
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. Finding Native/P-code compiled?
    By yuvarar in forum The Newbie Forum
    Replies: 5
    Last Post: August 26th, 2006, 03:17
  2. Pushing button
    By SilSaLaMaTa in forum Advanced Reversing and Programming
    Replies: 5
    Last Post: August 24th, 2002, 15:28
  3. Finding code in a VC6 dll ?
    By bik78 in forum Malware Analysis and Unpacking Forum
    Replies: 2
    Last Post: June 3rd, 2002, 17:51
  4. Enabling a button help!
    By Xpert in forum Malware Analysis and Unpacking Forum
    Replies: 1
    Last Post: June 29th, 2001, 02:53
  5. BPX on a button??
    By pupp in forum Malware Analysis and Unpacking Forum
    Replies: 5
    Last Post: November 6th, 2000, 19:09

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
  •