Bagikan melalui


CUserTool::Invoke

Executes the command associated with the user tool.

virtual BOOL Invoke();

Return Value

Nonzero if the command was executed successfully; otherwise 0.

Remarks

Calls ShellExecute to execute a command associated with the user tool. The function fails if the command is empty or if ShellExecute fails.

Requirements

Header: afxusertool.h

See Also

Reference

CUserTool Class

Hierarchy Chart