why cegui don't response? i am newbie
Moderators: CEGUI MVP, CEGUI Team
why cegui don't response? i am newbie
I have called the "subscribeEvent" API, and inject all windows messages. Can you tell me what's wrong? Thank you!
Re: why cegui don't response? i am newbie
To save CE the trouble, let me tell you that I think you need to provide some more detailed explanations of what you have done and what you're trying to do. Your post is too short and uninformative to allow any concrete help. Have you looked at the sample applications?
Re: why cegui don't response? i am newbie
I am sorry for the troubles, I have looked at the sample applications, but i can't find what is the problem. I just want, when i click the button, the button can respond, so i have subscribeEvent the PushButton::EventClicked event, and in wndproc, i have inject WM_LBUTTONDOWN message using CEGUI::System::getSingleton().injectMouseButtonDown(CEGUI::LeftButton); and also i used CEGUI::System::getSingleton().injectTimePulse(timeDelta), but it's no use.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: why cegui don't response? i am newbie
You have to inject 'up' events also, otherwise CEGUI can't know that you've released the button and completed the 'click'.
Ensure you have read and understood this tutorial: http://cegui.org.uk/docs/current/input_tutorial.html
CE.
Ensure you have read and understood this tutorial: http://cegui.org.uk/docs/current/input_tutorial.html
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: why cegui don't response? i am newbie
Thank you! It's now ok. I had forgot inject WM_MOUSEMOVE message.
Who is online
Users browsing this forum: No registered users and 19 guests