Search found 10 matches

by chendot
Thu Apr 10, 2008 06:34
Forum: Help
Topic: CD3DApplication Frame problem
Replies: 1
Views: 1595

CD3DApplication Frame problem

Hi, I want to test CEGUI in the old D3D Frame(CD3DApplication frame), I am not familar with this frame :oops: and I get some problem about the device reset. I added postD3DReset() and preD3DReset() as below. and I've got D3D reset error when I want to resize window or change device. HRESULT CSceneDe...
by chendot
Sun Mar 16, 2008 02:46
Forum: Modifications / Integrations / Customisations
Topic: Size of frame close button.
Replies: 2
Views: 2278

Wow~Thanks CE.

I've got it :wink:
by chendot
Sat Mar 15, 2008 08:35
Forum: Modifications / Integrations / Customisations
Topic: Size of frame close button.
Replies: 2
Views: 2278

Size of frame close button.

Hi, I got a problem about the close button of a FrameWindow. I set the frame size to a certain value, so that it won't change when resizing the window: WindowManager::getSingleton().getWindow("MyFrame")->setSize(UVector2(UDim(0, 256), UDim(0, 256)...
by chendot
Sun Mar 09, 2008 16:59
Forum: Modifications / Integrations / Customisations
Topic: help~ Lost & Reset D3DDevice error
Replies: 6
Views: 4472

Hi CE,

My mistake :oops: , I've found what the problem is. Originally I call the OnResetDevice() at the constructor, that cause the error after adding the postResetD3D() to OnResetDevice() method.

Thank you for your attention:)
by chendot
Thu Mar 06, 2008 11:26
Forum: Modifications / Integrations / Customisations
Topic: help~ Lost & Reset D3DDevice error
Replies: 6
Views: 4472

Hi CE, thank you for replying:) The output information about this error is "d:\projects\cfscene\cfd3dapp.cpp(176): m_pD3DDevice->Reset(&m_D3DPP) hr=D3DERR_INVALIDCALL (0x8876086c)", and I guess it cause by the CEGUI::DirectX9Renderer object fail to Lost D3D device, which I first though...
by chendot
Thu Mar 06, 2008 05:24
Forum: Modifications / Integrations / Customisations
Topic: help~ Lost & Reset D3DDevice error
Replies: 6
Views: 4472

help~ Lost & Reset D3DDevice error

Hi, I've got a problem like this, I used d3d and CEGUI in my project, and when I change the program between window mode and fullscreen mode or resize the window form, I should lost and reset the d3ddevice as below. case WM_SIZE: // ... OnLostDevice(); m_pD3DDevice->Reset(&m_D3DPP)...
by chendot
Fri Jan 18, 2008 17:26
Forum: Help
Topic: problem of destroyAllImagesets method
Replies: 3
Views: 2466

If any other part of the UI is using imagery your call to destoryAllImagesets is destroying that imagery so when it tries to draw something (static image frame?) the imagery no longer exists. Don't call destroyAllImagesets - be more selective in what you destroy :) CE. Thank you, CrazyEddie, I've c...
by chendot
Thu Jan 17, 2008 16:36
Forum: Help
Topic: problem of destroyAllImagesets method
Replies: 3
Views: 2466

problem of destroyAllImagesets method

I got a StaticImage to show the map picture, and the picture is changed accroding to a map list. So I wrote a function for subscribing the list Selected event. Each time the user selects a map from the list, the staticImage would show the relevant map picture. I wanted to implement map picture chang...
by chendot
Thu Jan 10, 2008 08:18
Forum: Help
Topic: about ListboxItem, Listbox, ItemListbox...
Replies: 3
Views: 2759

:D I get it, I'll have a try to change my project from Listbox to ItemListbox. thanks CE and Rackle, you really give a great help!
by chendot
Wed Jan 09, 2008 13:51
Forum: Help
Topic: about ListboxItem, Listbox, ItemListbox...
Replies: 3
Views: 2759

about ListboxItem, Listbox, ItemListbox...

Hi, I have two questions about the Listbox. 1) A ListboxTextItem often create like this: ListboxTextItem* item = new ListboxTextItem("item1"); This is not a auto_ptr, so when the application shut down, does the ListboxTextItem object delete by itself? if not, where should it be deleted? 2)...

Go to advanced search