Buckcherry
16-01-2009 16:59:34
Hello,
I am trying to detect when I click over a Edit widget and when I don't, for that, I am doing the following:
But I get a lot of errors. Using the eventMouseButtonClick method instead, it compiles successfully.
Any idea about how to use the eventMouseSetFocus, please?.
I am trying to detect when I click over a Edit widget and when I don't, for that, I am doing the following:
mChatEdit->eventMouseSetFocus = MyGUI::newDelegate(this, &WorldState::handleEditChatSetFocus);
mChatEdit->eventMouseLostFocus = MyGUI::newDelegate(this, &WorldState::handleEditChatLostFocus);
But I get a lot of errors. Using the eventMouseButtonClick method instead, it compiles successfully.
Any idea about how to use the eventMouseSetFocus, please?.