关于光标判断问题
请问如何判断光标在某个范围之内?谢谢!
--------------------编程问答--------------------
怎么顶的人都没有一个..这问题太简单了??
--------------------编程问答--------------------
获得光标
function FindFocus(e)
{
_insert("控件name",e);
}
_insert=function (id,str)
{//id 是要插入的对象,str是要插入的字符串
document.getElementById(id).focus();
var range=document.selection.createRange();
if(range)
{ if(range.text.length>0)range.text+=obj;
else range.text=str;
range.select();
}
}
--------------------编程问答--------------------
[align=left] private void Form1_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
{
this.Text="X:"+e.X+",Y:"+e.Y;
}[/align]
--------------------编程问答--------------------
private void Form1_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
{
this.Text="X:"+e.X+",Y:"+e.Y;
}
补充:.NET技术 , C#