CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #3
    Join Date
    Dec 2004
    Posts
    61

    Re: _TrackMouseEvent not working

    Dear D_Drmmr,

    Thanks for pointing out my thread's problem.
    I always want to post my code in the window just that i did not know the script.
    There was no shortcut key or button.

    Refer back to my question:
    I not sure how to detect the mouse in and mouse leave in a control which attached to my dialogbox.
    Please refer to my attachment.

    I need to use Setcapture to detect my mouse position when it move over the control.
    Of cause we can use control.RectInPt(mouse position) to track the mouse whether is in the control rect or not
    If another window pop up, then i not able to to release the mouse using ReleaseCapture.

    I will ReleaseCapture when user doubleclick on the control and at the same time another window will pop up.
    Hope my question is clear.
    Thanks.
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured