Share

CNavDialog::GetRecentDirectory

C++

virtual BOOL GetRecentDirectory(
    CString& strRecent
);

Description

Gets the Recent directory for use with the History places item under the Application Data directory of the OS and puts it into strRecent. Typically this would ressemble c:WinntProfilesjacklApplication DataAutodeskAutoCADRecent. The path to Application Data is supplied by the OS.

Returns true on success and false on failure.

This function is meant to be overridden in a descendant. The default is to do nothing. The function must be implemented in a subclass.

Parameters

Parameters Description
strRecent String representing the Recent directory

Links

CNavDialog Class

Was this information helpful?