I am running my map in dynamic display mode, and I want to programmatically uncheck a layer that is not a IDynamicLayer that is visible in the AxTocControl -- its just a regular layer file.
I thought that layer.Visible = false; with a map refresh would work, but bafflingly it does not.
I'm using ArcEngine 10 VS2010 & C#
mapcontrol.Refresh(esriViewDrawPhase.esriViewGeography, null, mapcontrol.Extent);– Michael Todd Feb 15 '11 at 22:20