LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

The graph control right-hand Y-axis tick marks look like negative signs

Solved!
Go to solution

I have come up with a simpler solution. There is no need to use hidden separate panels anymore. Just hide the ticks by using dummy text boxes then use the following code to copy only the graph on the main panel. It is significantly simpler and works well. The result is enclosed without confusing ticks.

 

int bitmapID, top,left, height, width;

GetCtrlBoundingRect (PanelHandle, graph_control, &top, &left, &height, &width);

GetPanelDisplayBitmap(PanelHandle,VAL_FULL_PANEL,MakeRect (top,left, height, width),&bitmapID);

ClipboardPutBitmap(bitmapID);

0 Kudos
Message 11 of 11
(1,130 Views)