ET++: Stepping through a left mouse click in a button

Events are handled by generating a Command which will later be executed. In the case of a left button click, the command is a ButtonCommand. The return here works its way up the return sequence to Window::InputNotify(), where is it executed using CommandProcessor::PerformCommand().


Command *Button::DoLeftButtonDownCommand(Point, Token, int)
{
	return new ButtonCommand(this, TestFlag(eButtonIdle));
}

Back to the method call sequence