Static / immutable traces

Hi,

I've searched around for this but can't find anything:

I would like to make a trace "static", so that it does not show up in legends and cannot be right-click-edited. Essentially, to behave the same way a shape does when drawn.

Currently the trace in question is used to shade specific regions of a graph. The shading wave is user-supplied. Is there any way to do this other than to programmatically draw rectangles based on the wave?
Hmmm ... I would have sworn there was a ModifyGraph disable(tracename)=1 option akin to hide(tracename)=Value

Absent this, perhaps an alternative option to drawing rectangles is to set a WindowHook function that resets the trace if it is moved.

--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
You can programmatically create a polygon drawing object using DrawPoly and use that for the shading.