SetActive
Set the layer's active MatrixObject by index.
BOOL SetActive( int nIndex )
If successful then TRUE else FALSE.
EX1
//Set the layer's active MatrixObject by index. void MatrixLayer_SetActive_Ex1() { MatrixPage mp = Project.MatrixPages(0); if(!mp) return; MatrixLayer ml(mp.GetName()); if(ml.SetActive(0)) printf("success to active it"); else printf("fail to active it"); }
MatrixLayer::GetActive
origin.h