Search found 8 matches

by chenltm
Wed Feb 10, 2010 05:27
Forum: Help
Topic: How can I get the top window's handle?
Replies: 9
Views: 6012

Re: How can I get the top window's handle?

Hmm, :hammer: then I'll done my work by another way .
I'll try to make a hge renderer with cegui 0.7.x too when I got time. :D
Thank you.
by chenltm
Tue Feb 09, 2010 06:41
Forum: Help
Topic: How can I get the top window's handle?
Replies: 9
Views: 6012

Re: How can I get the top window's handle?

:hammer: Both ways can work ! thank you very much.

Still, I want to make a "big" UI with lost of "small" one on it sometime. So if you've changed the code of 0.6.x, please give me a message. :D

Thanks . :D
by chenltm
Mon Feb 08, 2010 02:15
Forum: Help
Topic: How can I get the top window's handle?
Replies: 9
Views: 6012

Re: How can I get the top window's handle?

:( I'm sorry. This is my codes about the problem. CEGUI::HgeRenderer* myRenderer= new CEGUI::HgeRenderer(); //CEGUI::LuaScriptModule* script_module = new CEGUI::LuaScriptModule(); new CEGUI::System(myRenderer/*,0,0,script_module,"CEGUI.config"*/); CEGUI::DefaultResourceProvider* rp = stati...
by chenltm
Sun Feb 07, 2010 09:40
Forum: Help
Topic: How can I get the top window's handle?
Replies: 9
Views: 6012

Re: How can I get the top window's handle?

:hammer: I've created a visible window which as big as my render window,then I've added a parent button on it . I want to know whether the mouse is in the button or not When I clicked . :cry: I hope I described the problem clearly. Now I've found out the funtion "getWindowContainingMouse" ...
by chenltm
Fri Feb 05, 2010 09:11
Forum: Help
Topic: How can I get the top window's handle?
Replies: 9
Views: 6012

How can I get the top window's handle?

When I use callback funtion like

Code: Select all

bool CInputprocSystem::guiUserMove(const CEGUI::EventArgs &e)



I'd like to found out the top window where the event occurde.
Unfortunately I can not find out the way. :x

Is there any way? please help me.
by chenltm
Wed Feb 03, 2010 06:14
Forum: Help
Topic: What's the meaning of PushButton's "onClick" Property ?
Replies: 4
Views: 3871

Re: What's the meaning of PushButton's "onClick" Property ?

:D Thanks,scriptkid.

I've found out a way just as you said.
It can work !
Now I'm trying to use lua script. I thought it's more efficient for debugging. :rofl:


Forgive my poor english please. :cry:
by chenltm
Sun Jan 31, 2010 01:42
Forum: Help
Topic: What's the meaning of PushButton's "onClick" Property ?
Replies: 4
Views: 3871

Re: What's the meaning of PushButton's "onClick" Property ?

:hammer: Thanks,deer CE.
I also thought they do some changes .But when I found that it can be worked with the code from www.cegui.org ,I can't be sure .
Now I know the truth and wont waste time to try to use it directly ,though I've waste two days. :cry:

Thank you very much. :rofl:
by chenltm
Sat Jan 30, 2010 06:03
Forum: Help
Topic: What's the meaning of PushButton's "onClick" Property ?
Replies: 4
Views: 3871

What's the meaning of PushButton's "onClick" Property ?

I saw this at TorchLight's bottomhud.layout: <Window Type="GuiLook/ImageButton" Name="StatsButton" > ...... <Property Name="onClick" Value="guiToggleStats"/> The property "onClick" Can't be find at the wiki's PushBtton Properties but it can be used w...

Go to advanced search