DEFAULT_PARSE_COMMAND (MFC)

Switch View :
ScriptFree
MFC Library Reference
DEFAULT_PARSE_COMMAND

Directs the framework to call the default page that is identified by the FnName parameter if the request from a client to the CHttpServer object does not contain a command.

DEFAULT_PARSE_COMMAND(FnName, mapClass )

Parameters

FnName
The name of the member function. Also the name of the command.
mapClass
The class name to which the function is mapped.

Remarks

The DEFAULT_PARSE_COMMAND macro can appear anywhere in the parse map.

See ON_PARSE_COMMAND for a parse map example.

See Also

MFC Macros and Globals | BEGIN_PARSE_MAP | ON_PARSE_COMMAND | ON_PARSE_COMMAND_PARAMS | END_PARSE_MAP | CHttpServer