Click here to Skip to main content
15,879,088 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
under the circumstance of MFC ,I want to accomplish a function ,which is if the left button of mouse enter the Edit BOX a set of characters occuring besides the Edit Box
Posted

1 solution

That's a non-standard use of the left mouse button, and should be avoided. If it were me, I'd provide a button that the user could click, or a context menu for the edit ccontrol that allows themm to paste the text.
 
Share this answer
 
Comments
[no name] 29-Nov-10 9:27am    
Does it works?
#realJSOP 29-Nov-10 9:39am    
Does *what* work?
Manfred Rudolf Bihy 29-Nov-10 9:48am    
@Jokcy: What John offered you was advice how to do it better and not an implementation of what you had in mind. Besides that I agree with John on this. Redefining the semantic of a mouse button will be counterintuitive for the user experience. (I'll 5 that!)
[no name] 29-Nov-10 20:28pm    
en,thank you very much!Just let me have a try .Anyway thank you all the same.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900