Adobe 38040334 - Dreamweaver CS3 User Manual page 37

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

FileHandle OpenNotesFile()
Description
This function opens the Design Notes file that is associated with the specified file or creates one if none exists.
Arguments
const char* localFileURL, {BOOL bForceCreate}
• The
argument, which is expressed as a file:// URL, is a string that contains the path to the main
localFileURL
file with which the Design Notes file is associated.
• The
argument is a Boolean value that indicates whether to create the Design Notes file even if
bForceCreate
Design Notes is turned off for the site or if the path specified by the
with any site.
FileHandle OpenNotesFilewithOpenFlags()
Description
This function opens the Design Notes file that is associated with the specified file or creates one if none exists. You
can open the file in read-only mode.
Arguments
const char* localFileURL, {BOOL bForceCreate}, {BOOL bReadOnly}
• The
argument, which is expressed as a file:// URL, is a string that contains the path to the main
localFileURL
file with which the Design Notes file is associated.
• The
argument is a Boolean value that indicates whether to create the Design Notes file even if
bForceCreate
Design Notes are turned off for the site or the path is not associated with any site. The default value is
argument is optional, but you need to specify it if you specify the third argument.
• The
argument, which is optional, is a Boolean value that indicates whether to open the file in read-
bReadOnly
only mode. The default value is
MMNotes.dll file.
BOOL RemoveNote()
Description
This function removes the specified key (and its value) from the specified Design Notes file.
Arguments
FileHandle noteHandle, const char keyName[64]
• The
argument is the file handle that the
noteHandle
• The
argument is a string that contains the name of the key to remove.
keyName[64]
Returns
A Boolean value:
indicates the operation is successful;
true
. You can specify the
false
OpenNotesFile()
false
argument is not associated
localFileURL
argument starting in version 2 of the
bReadOnly
function returns.
otherwise.
DREAMWEAVER CS3
32
API Reference
. This
false

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents