Skip to content

MessageMap#

Message map in a MFC C++ document More...

import Script

Properties#

Name
string className
list<MessageMapEntry> entries
bool isValid
RangeMark range
string superClass

Methods#

Name
MessageMapEntry get(string name)
list<MessageMapEntry> getAll(string name)

Detailed Description#

The MessageMap object represents the data contained in the MFC MessageMap.

Property Documentation#

string className#

The name of the class this message map belongs to.

list<MessageMapEntry> entries#

All entries found in the MessageMap as MessageMapEntry.

bool isValid#

Whether the MessageMap refers to an actual message map. If no MessageMap could be found, this will be false.

RangeMark range#

The entire range of the Message Map. Can be used to select & delete the entire message map.

string superClass#

The name of the super class this class inherits from.

Method Documentation#

MessageMapEntry get(string name)#

Gets the first entry with the given name. If no entry could be found, isValid will be false on the resulting MessageMapEntry.

list<MessageMapEntry> getAll(string name)#

Gets all entries with the given name.