Hi Liujibao,
Please try the following testing code to rename page name and set label.
void run_this()
{
GraphPage gp;
gp.Create(NULL, CREATE_HIDDEN);//Create one page as hidden
gp.Show(TRUE); //Show the graph page
gp.Rename("New Name"); //Rename the page's name
printf("%s\n", gp.GetName());
gp.Label = "This is Label"; //Set the page's label
gp.TitleShow = WIN_TITLE_SHOW_BOTH; //Show Name and Label of the page
}
Iris
Edited by - Iris_Bai on 12/17/2003 05:36:15 AM