Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can any body tell me how to detect Ctrl+C in MFC or VC++??

Is Accelerator Helpful in SDI application to detect Ctrl+C?? How?
Posted
Comments
Richard MacCutchan 26-Aug-10 13:39pm    
Your latest comment (which has nothing to do with your original question) suggests I download something and do a critique of your code. I'm sorry but that is not the way this site works. If you have a specific question then post an extract of the code and your question, and people may be able to help you.

Despite the comment in Stackoverflow that you have tried this and it doesn't work, I suspect that as with most accelerators it does work, but your implementation is somehow flawed. Try posting the code you have used and explain what happens when you press this key combination.
 
Share this answer
 
Comments
Bhavin Jagad 26-Aug-10 11:36am    
Hello, thanks for your supports.

I have created some what smiler to excel.
You may check it over here.
http://hotfile.com/dl/64505005/51f6799/Excel.exe.html

its only 86 KB.
i started programming with Visual c++ last month.


its supporsts
1) resizing of columns and rows
2) scroll bar(only click and thumb movements)
3) writing content in the cell
3) copy on Ctrl+c and paste on Ctrl+v of cell matrix
4) Rows selection, columns selection and cell matrix selection
5) Multiple selection
6) Key board threw movement in cell
7) Selection with Shift+(arrow key)
8) mouse hover effect on the Rows and Column title.

i know there is much more laking but this is my first SDI application and .
Please suggest me the improvements can be done in this application.

thank you
There is fundamently big problem when you see this[^] scattered all over the intertubes.

Do yourself a favor. Step back and grad a decent MFC book. Learn the internals of the framework and then come back.

I'd give you the code, but then I am not sure if I am helping you or hurting you. But by reading a book, I am sure you will get a benefit from it.

What you want to do is done through what is called Keyboard Hook.
 
Share this answer
 
Comments
Bhavin Jagad 20-Aug-10 11:03am    
Sorry, i have already done Message mapping etc etc but doesn't works...
Yusuf 20-Aug-10 14:00pm    
Then show us your relevant code so we can help you out.

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