D
Doug
Hi
I have a form that when a user presses Enter I would like to get the current
mouse position and copy it to the clipboard.
I have tried
private void button1_Click(object sender, EventArgs e)
{
string possi;
possi = (string) Control.MousePosition;
MessageBox.Show(possi.ToString());
}
but this doesnt work and i get the error "Error 1 Cannot convert type
'System.Drawing.Point' to 'string' "
Any help appreciated..
Doug
I have a form that when a user presses Enter I would like to get the current
mouse position and copy it to the clipboard.
I have tried
private void button1_Click(object sender, EventArgs e)
{
string possi;
possi = (string) Control.MousePosition;
MessageBox.Show(possi.ToString());
}
but this doesnt work and i get the error "Error 1 Cannot convert type
'System.Drawing.Point' to 'string' "
Any help appreciated..
Doug