Order, when >= 0, it is the order of the page in a slide show of the folder. When -1, the page is hidden from a slide show.
Sets the order of a page in a given folder. If pFolder is NULL (default) will set its order in the current folder.
BOOL SetOrder( int nOrder, Folder * pFolder = NULL )
Returns non-zero if the folder contains the page or a shortcut to the page and the operation is successful, otherwise returs FALSE.
pb = Project.Pages(); // Get the project's active page
if( pb.IsValid() )
int nOrder = 1;
BOOL nRet = pb.SetOrder(nOrder);
printf("The order is %d\n", pb.GetOrder());