|
-
February 8th, 2005, 08:49 AM
#1
What happen when double click
Hello
I wann know that what has happen when I double click a word in any word processor. I will appreciate for your help.
-
February 8th, 2005, 08:52 AM
#2
Re: What happen when double click
Sorry, my question is not very clear for you. When I double click a word in any word processor it select one word. I wanna know what has happen behind the scene to make a selection
-
February 8th, 2005, 11:25 AM
#3
Re: What happen when double click
Well, that depends on how the application is written.
If the view is completely written by the developer, then they are either handling the WM_LBUTTONDOWN message and creating their own "double click", or they are handling the WM_LBUTTONDBLCLK message.
Or, they might be using some other control that does this for them (someone else can comment, but there is a "rich text" control that may already provide this functionality).
What you can do is (if you have Microsoft Visual Studio) create a new MDI applciation using the Wizard; make sure your view is derrived from CRichEditView; build it; and step through the code. You can see what happens! 
Viggy
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
|