문제

How I can know if the mouseposition is inside a margin?

I mean for example I have a TrackBar control in my form then I want to know if the mouseposition is overhoving that control.

private some sub()...
  if not mouseposition is over MyTrackbar location then
    Do something
  else
    Do nothing
  end if
end sub
도움이 되었습니까?

해결책

I want to know if the mouseposition is overhoving that control.

The MouseHover event will tell you that

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top