Check the page shortcut in current folder.
BOOL HasShortcut( PageBase & page )
Returns TRUE is present otherwise FALSE
EX1
void HasShortcut_Ex1() { Folder fld = Project.ActiveFolder(); if(fld.IsValid()) { PageBase pb; pb = Project.Pages(); BOOL bHas=false; if(pb.IsValid()) bHas=fld.HasShortcut(pb); printf("Is Page has shortcut:%s",bHas?"yes":"not"); return; } printf("there is no active folder in current project"); }
OriginC:Folder::AddShortcut
origin.h