I'm having trouble deleting rectangle plots on my graph control. Here's what I've found out so far:
- I know (via debugger) the DeleteGraphPlot function is being called with the right parameters.
- I can delete all plots by sending "-1" (this is an OK workaround, but I don't like having to redraw all of the plots I wanted to keep).
- I can delete the plots one at a time if I do it during the same instantiation of the callback function that created them.
- The plots DO NOT delete one at a time if done during a later instantiation of the callback, even though their handle values have not changed.
I'm running LabWindows/CVI version 5.5.