Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi,

i like to introduce a new feature in my machine that i need to override the Copy progress UI (Copy Window) in Windows 7.

The idea is

when i hit Ctrl+V in windows i need to override that command and execute my window instead of windows regular copy progress UI.
Posted

Freind, Please either use the window hook key event or override the existing implementation of Ctrl+V and customize your code accordingly on keydown event. please let me know if you want any thing else.

Friend, please find the code for same also use the true block to generate your custom event.
C++
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
    if (e.Control && e.KeyValue == 86)
    {
        e.Handled = true;
        e.SuppressKeyPress = true;
 
    }
}  

please vote if this solution is accepted or relevant for you.

Thanks,
Ambesha
 
Share this answer
 
v3
Comments
[no name] 29-Sep-12 5:01am    
Ya that's the idea i have but i dont know how to do that. that's why i asked help to you guys.
Ambesha 3-Oct-12 1:05am    
do u want the code for same ??
[no name] 3-Oct-12 3:47am    
that would be fine. But actually i don't like that let me know the algorithm or abstract of how should i approach that.
 
Share this answer
 
Comments
[no name] 19-Oct-12 4:12am    
Thanks you Very much .....

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