|
-
Aug 16th, 2001, 07:28 PM
#1
Thread Starter
Fanatic Member
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?
-
Aug 16th, 2001, 08:08 PM
#2
Frenzied Member
Yes, there is such a tool. MS Spy++, it comes with VC++.
-
Aug 16th, 2001, 08:19 PM
#3
Thread Starter
Fanatic Member
Thanks Vlatko.
I have located the tool. Now how do I see the messages to the textbox and those processed by the textbox?
-
Aug 16th, 2001, 08:31 PM
#4
Thread Starter
Fanatic Member
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?
-
Aug 16th, 2001, 09:09 PM
#5
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|