G
Guest
I write a Vector Draw program.In my custom control,I override
OnMouseMove(...) in which I call PropertyGrid 's Refresh().Once OnMouseMove
invoke,even if I don't
move mouse.It'll generate WM_MouseMove continously(using spy to monitor it).
for example,there is a PropertyGrid in the form,and I write the form's
MouseMove
Event this way:
private void Form1_MouseMove(object sender,
System.Windows.Forms.MouseEventArgs e)
{
......
propertyGrid1.Refresh();
......
}
If I move mouse into the form and don't move it. Form1_MouseMove is called
repeatly. Anybody know the reason?
Thx,
wyghf
OnMouseMove(...) in which I call PropertyGrid 's Refresh().Once OnMouseMove
invoke,even if I don't
move mouse.It'll generate WM_MouseMove continously(using spy to monitor it).
for example,there is a PropertyGrid in the form,and I write the form's
MouseMove
Event this way:
private void Form1_MouseMove(object sender,
System.Windows.Forms.MouseEventArgs e)
{
......
propertyGrid1.Refresh();
......
}
If I move mouse into the form and don't move it. Form1_MouseMove is called
repeatly. Anybody know the reason?
Thx,
wyghf