simulate user click?
Posted: Mon Jul 23, 2007 22:31
I want to make an automated test for game.
What i want to do is, to simulate mouse click on some windows.
Of course, I can generate mouse events at Windows API level, but then it's hard to control which window(CEGUI) to click.
Is there any way to specify a CEGUI window and generate mouse click event?
CEGUI::Window::OnMouse*** events are all protected so I can't directly call them.
What i want to do is, to simulate mouse click on some windows.
Of course, I can generate mouse events at Windows API level, but then it's hard to control which window(CEGUI) to click.
Is there any way to specify a CEGUI window and generate mouse click event?
CEGUI::Window::OnMouse*** events are all protected so I can't directly call them.