[Solved] fire MouseEvent
Posted: Sat May 05, 2007 16:33
Hi,
When the mouse enters a button, I'm setting the focus to this button and I would like this buttons react to keyboard input, for example, if I press <<Enter>> it should act like left click mouse event:
Thanks,
Dirso
When the mouse enters a button, I'm setting the focus to this button and I would like this buttons react to keyboard input, for example, if I press <<Enter>> it should act like left click mouse event:
Code: Select all
bool keyReleased( const CEGUI::EventArgs& e )
{
// what should i put here to fire left click event?
return true;
}
Thanks,
Dirso