Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - HitTest/Object Coordinates in MouseEvents for ML
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HitTest/Object Coordinates in MouseEvents for ML

 Post Reply Post Reply
Author
Message
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: HitTest/Object Coordinates in MouseEvents for ML
    Posted: 15 March 2009 at 9:54am
Is it possible to perform a HitTest or get the mouse coordinates relative to the sending object when using the Mouse* events for objects in the MarkupLabel? For example:


      '-----------Code clipped for brevity
      Set lo_MouseBorderTop = .MarkupContext.Parse("<Border Background='#00FF0000'></Border>")
      With lo_MouseBorderTop
         .Name = "MouseBorderTop" & vbTab & i
        
         .AddHandler .MouseMoveEvent, "MouseMove"
      End With
      ' ------------Code clipped

Public Sub MouseMove(ByVal Sender As MarkupObject, ByVal Args As MarkupRoutedEventArgs)
     ' Determine the X & Y coordinates of the mouse relative to the Sender object
End Sub


Thanks.
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2009 at 8:05am
Seems not for ActiveX version :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2009 at 5:03pm
Thanks Oleg...Is this something we can expect at some point? Hit testing/XY can be pretty important for mouse operations.
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2009 at 2:10am

Hi,

Added to todo list :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2009 at 12:46pm
Great, thanks a lot!
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.