Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot invalidates seem broken in v8.6

Hi,

 

We use Measurement Studio 2D graphs hosted in a MDI-style application.  When dragging the MDI widnow so it is partially hidden by the window edge, then dragging the window back so it is completely visisble, a black border remains.  It seems as though the window invalidation is off by one pixel.  Note that this happens only in the plot area but does not mask the labels, so this is not a problem of invalidating the correct rectangle.

 

This problem started after upgrading from v8.0 to v8.6. 

 

Is there a quick workaround for this problem, which will allow me to use the updated controls without wating for an official fix?

 

Regards,

Nick 

0 Kudos
Message 1 of 3
(6,360 Views)

Also happens when you set SetTrackMode(CNiGraph::TrackZoomRectX), then drag first outwards (to expand the x-range), then "inwards" (toward the first point, decreasing the x-range), the dashed zoom indicator does not invalidate correctly.  See attachment.

 

[Sorry about the double post, I could nto find the "edit post" button.]

0 Kudos
Message 2 of 3
(6,357 Views)
Have you considered including code to refresh your plot whenever you move or resize the plot? It seems like these artifacts are present because the plot area is not updating for some reason, so a manual refresh should fix the behavior.  Let me know if there is anything else i can help you with!
Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 3 of 3
(6,322 Views)