-
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?
-
Yes, there is such a tool. MS Spy++, it comes with VC++.
-
Thanks Vlatko.
I have located the tool. Now how do I see the messages to the textbox and those processed by the textbox?
-
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?
-
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. :confused: