Page 1 of 1

scroll pane error?

Posted: Thu Sep 29, 2011 03:11
by JohnBoyMan
Hello i have not found very much code on scroll panes but from what ive seen this should work.

Code: Select all

   FrameWindow *frame = static_cast<FrameWindow *>(winMg.createWindow("WindowsLook/FrameWindow","GridControlFrameWindow"));   // Create the frame window
ScrollablePane *scrollPane  = static_cast<ScrollablePane *>(winMg.createWindow("WindowsLook/ScrollablePane","GridControlScrollPane"));   // Create the scroll pane

frame->addChildWindow(scrollPane);      // Add the scroll pane
fWnd2->addChildWindow(frame);         // Add the frame

   


fWnd2 is my main window.
In my console that i run with my ogre app, i see this error maybe someone recognizes it .

Code: Select all


CEGUI:;WindowFactoryManager::getfactory - A WindowFactory object, and alias or mapping for "windowsLook/ScrollablePane Window objects is not registered with the system



Re: scroll pane error?

Posted: Thu Sep 29, 2011 12:09
by Kulik
read guidelines! :roll:

Re: scroll pane error?

Posted: Fri Sep 30, 2011 10:31
by maori
tip log and version :pint: