Hello All,
Thanks for reading my question
I just want to
develop a very simple window application which would deal with
ClipBoard. for the customization of the process, i just want that on
certain key presses let's say (ctrl+Shift+1), when this keypress is
done,my application performs some operation. whether the keypress is
called at any other application providing my application is running in
background.
also is there any event that could let me know when the data contained in ClipBoard is changed.
kindly provide me the guidliees. how would i achieve this ?
Loading
Jaish MathewsPosted May 15, 2010, 4:11 AM
Hi,
For key handling in Form you can use KeyDown event handler. Below is the example ctrl+Sht+1
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if((e.KeyCode.Equals(Keys.D1)) && (e.Control && e.Shift) )
{
MessageBox.Show("Process My Data");
}
}
For ClipBoard monitor, see below link
http://community.devexpress.com/blogs/markmiller/archive/2008/09/08/clipboard-history-plug-in-for-visual-studio-with-dxcore-part-2.aspx