Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Track control viewport selection issues
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Track control viewport selection issues

 Post Reply Post Reply
Author
Message
adrien View Drop Down
Senior Member
Senior Member


Joined: 30 April 2007
Location: New Zealand
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrien Quote  Post ReplyReply Direct Link To This Post Topic: Track control viewport selection issues
    Posted: 03 June 2010 at 10:58pm
we are using the Track Control to show historic activity of a system. The timescale shown can vary from months down to minutes.

we are finding a problem with the linear mode of the "scrollbar" used to set position and window size.

When zooming right in, the tolerance / precision of the control goes out the window, so for instance 1px change in width of the control when zoomed right in, can make an enormous difference to the width of the blocks on the control.

e.g if the width of the selector is only 4px, then 1px change is 25%. If the width is large, 1px difference is very small, so using a linear formula creates a non-linear sensitivity of the control.

This is because the mapping from time to track position divides by the width, and has the time window on the top.

I think we need a logarithmic mode or similar to make the thing actually usable.
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.109 seconds.