Folder::Activate

Description

Make a folder the active folder

Syntax

BOOL Activate( )

Parameters

Return

TRUE on Success, FALSE on failure

Examples

EX1

// Create a new folder within the active folder and make the new folder active
int    Folder_Activate_Ex1()
{
    Folder fld = Project.ActiveFolder();
    Folder subfld = fld.AddSubfolder("MyFolder");
    BOOL bVal = subfld.Activate();
    return (int) bVal;
}

Remark

Set the project's current folder.

See Also

header to Include

origin.h