EdSetPathNameΒΆ

EdSetPathName sets the file name.

bool = EdSetPathName(hEdit, ssFileName)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

hEdit

Identifies the editor.

ssFileName

ssFileName is the file name. If the string is empty, a default name is given to the document.

Example

EdSetPathName(hEdit, "c:/doc.ic")
  EdSetPathName(hEdit, "")             // Set Default Name

id-69226