Thread: Spy++ view messages posted/sent to a control, or from it?

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    114

    Spy++ view messages posted/sent to a control, or from it?

    Spy++ view messages posted/sent to a control, or from it?

    i noticed that there are "S", "P" codes when the messages are logged. Now what i wan to know is these messages are messages originating from that control, OR they are messages being received by that control.

    if they are messages sent away, how do i see messages being sent to that control?

    if they are messages sent to, how do i see messages being sent away from that control

    if they are both, then how do i differentiate then? how to know which is which

    how do i know the destination of the messages being sent?

    please help a newb
    hanhao

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    Moved(3).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    "man moved(3)"



    lol Salem....

    Anyway, spy++ appears to read things from your message queue, which I imagine covers everything received by a control.... which can indirectly be messages sent by other controls.

    For instance, I noticed WM_LBUTTONDOWN, which are left mouse button messages to controls and such, but I also noticed WM_COMMAND messages received by a dialog box which are sent when I pressed Enter on an edit control of mine.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 06-27-2007, 04:22 AM
  2. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  3. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  4. Tree View control not appearing
    By Garfield in forum Windows Programming
    Replies: 1
    Last Post: 03-07-2004, 01:47 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM