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

This is a discussion on Spy++ view messages posted/sent to a control, or from it? within the Windows Programming forums, part of the Platform Specific Boards category; Spy++ view messages posted/sent to a control, or from it? i noticed that there are "S", "P" codes when the ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,673
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    "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, 05:23 AM
  4. Tree View control not appearing
    By Garfield in forum Windows Programming
    Replies: 1
    Last Post: 03-07-2004, 12:47 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21