when I try to code like this
ScrollablePane* pbar = static_cast<ScrollablePane*>(winMgr.createWindow(" TaharezLook/ScrollablePane", "Progbar1"));
option_wnd->addChildWindow(pbar);
it caught the exceptions:
WindowFactoryManager::getFactory - A WindowFactory object, an alias, or mapping for ' TaharezLook/ScrollablePane' Window objects is not registered with the system.
i dont know why?
thanks for telling...
how can I solve this "createWindow"prolem
Moderators: CEGUI MVP, CEGUI Team
-
- Just popping in
- Posts: 3
- Joined: Sun Mar 12, 2006 15:32
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hello,
welcome
You probably have not loaded a "scheme". I can not see since you only posted a few lines of code. Use something like this:
For details, you can take a look at the sample code, such as "Sample_FirstWindow.cpp" in the samples projects.
Good luck!
welcome

You probably have not loaded a "scheme". I can not see since you only posted a few lines of code. Use something like this:
Code: Select all
// Use the SchemeManager singleton to load in a scheme that registers widgets
// for TaharezLook.
SchemeManager::getSingleton().loadScheme("../datafiles/schemes/TaharezLookSkin.scheme");
For details, you can take a look at the sample code, such as "Sample_FirstWindow.cpp" in the samples projects.
Good luck!
-
- Just popping in
- Posts: 3
- Joined: Sun Mar 12, 2006 15:32
Who is online
Users browsing this forum: No registered users and 12 guests