Results 1 to 40 of 1650

Thread: VBFlexGrid Control (Replacement of the MSFlexGrid control)

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,454

    Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Quote Originally Posted by Krool View Post
    For my non-OLE DragRow/DragCol methods which enter a modal message loop -
    I have timers which ticks when mouse is idle, so it's a combination of WM_MOUSE and SetTimer/KillTimer.
    Any WM_MOUSEMOVE will reset the timer to not have "double" thing.
    This should be separable with relative ease, via proper bool-Flags -
    which depend on, whether MouseY is inside the Control or not (whilst the Mousekey is down).

    If outside the Control, then only the timer is responsible, if inside the Control, then only Mouse_Move...

    Olaf

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Jun 2012
    Posts
    2,728

    Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Quote Originally Posted by Schmidt View Post
    This should be separable with relative ease, via proper bool-Flags -
    which depend on, whether MouseY is inside the Control or not (whilst the Mousekey is down).

    If outside the Control, then only the timer is responsible, if inside the Control, then only Mouse_Move...

    Olaf
    I based the logic upon https://devblogs.microsoft.com/oldne...5-00/?p=104757

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