【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.13.21 Folder::RemoveShortcut
Contents
Description
Remove the shortcut to the given page in the folder
Syntax
BOOL RemoveShortcut( PageBase & page )
Parameters
- page
- [input] the page for which to find shortcut
Return
Returns non-zero if succeed otherwise FALSE
Examples
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"); }
Remark
See Also
Header to Included
origin.h