Child Widgets Getting Disabled
Posted: Fri Feb 15, 2008 07:31
I have a window (FrameWindow)
which has editboxes and buttons in it.
When I click inside the window in the 'grey area' (not a child widget)
from then on I can't use any of the editboxes or buttons, etc.
Is there a reason for that?
This is what my code looks like:
which has editboxes and buttons in it.
When I click inside the window in the 'grey area' (not a child widget)
from then on I can't use any of the editboxes or buttons, etc.
Is there a reason for that?
This is what my code looks like:
Code: Select all
FrameWindow* BaseFrame = static_cast<FrameWindow*>(wmgr.createWindow("WindowsLook/FrameWindow", "root/newdialogue"));
BaseFrame->setAlwaysOnTop(true);
wmgr.getWindow("root")->addChildWindow(BaseFrame);
BaseFrame->setSize(UVector2(cegui_reldim(0.3f), cegui_reldim(0.35f)));
BaseFrame->setPosition(UVector2(cegui_reldim(0.3f),cegui_reldim(0.325f)));
BaseFrame->setSizingEnabled(false);
BaseFrame->setRollupEnabled(false);