3.5.6 Show Active Layer Only


This example demonstrates how to show active layer only, which does the same thing as we right-click on the layer icon on the upper-left corner of graph and choose Show Active Layer Only.


void only_show_active_layer()
	GraphPage gp("Graph1");
	if( gp )
		// to active graph window
		// execute the LabTalk command with the active graph window
		LT_execute("menu -e 37975;");