Remove the shortcut to the given page in the folder
BOOL RemoveShortcut( PageBase & page )
Returns non-zero if succeed otherwise FALSE
EX1
void RemoveShortcut_Ex1() { Folder fld = Project.ActiveFolder(); if(fld.IsValid()) { PageBase pb; pb = Project.Pages(); BOOL bHas = false; if(pb.IsValid()) bHas=fld.RemoveShortcut(pb); printf("Is shortcut has been removed:%s",bHas?"yes":"not"); return; } printf("there is no active folder in current project"); }
OriginC:Folder::AddShortcut
origin.h