Results 1 to 5 of 5

Thread: Notification Messages

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2000
    Location
    Sydney Australia
    Posts
    804

    Notification Messages

    Although I posted this in the General VB questions forum, you guys might have a better idea.

    It appears that a textbox swallows mouse double clicks, both left and right.

    There must be tools that come with VS studio that allow me to see the messages sent to a text box and those processed by the text box?

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Yes, there is such a tool. MS Spy++, it comes with VC++.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2000
    Location
    Sydney Australia
    Posts
    804
    Thanks Vlatko.

    I have located the tool. Now how do I see the messages to the textbox and those processed by the textbox?

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2000
    Location
    Sydney Australia
    Posts
    804
    It looks like there are windows and it shows:

    1 handle
    2 caption
    3 class name

    So now do I find the texbox? I assume that is the next step.

    Ok my project is called Test, so I have found a window with caption of test, and clicked on the + to go down through the child windows.

    Now I am a bit lost... it won't be the immediate window or the properties window, so I'll choose the "Project - Test" with class name PROJECT. Nothing here.

    Ok I chose MDI client --> "Test - Form1- Form" and right at the bottom is a window called: "Thunder Text Box"

    I think I have found the text box in Spy ++, now how to look at the messages?

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2000
    Location
    Sydney Australia
    Posts
    804
    Don't bother replying to the above questions, I can see the messages now.

    If this is the output is:
    WM_RBUTTONDBLCLK fwkeys:MK_RBUTTON

    Does this mean that the textbox processed the message and turns the double click to a right button click message?

    What confuses me is that although MK_RBUTTON is sent to the textbox when the user double clicks, it does not trigger the mouse down event.
    Last edited by JamesM; Aug 16th, 2001 at 09:27 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width