jeremy_c Messages: 175 Registered: August 2007 Location: Ohio, USA
Experienced Member
I have a many widgets on my layout and the Editor is on the bottom half of the window, however, the toolbar is on the upper half of the window. This is a pretty big disconnect between the widget and the toolbar that controls the widget.
Right now I do:
void MyApp::Setup()
{
// other code
toolbar.Set(THISBACK(MainBar));
AddFrame(toolbar);
// other code
}
void MyApp::MainBar(Bar &bar)
{
editor.DefaultBar(bar);
}
Is there a way I can make this bar attach right above the editor instead of a main toolbar?
jeremy_c Messages: 175 Registered: August 2007 Location: Ohio, USA
Experienced Member
Oh, that was easy enough! I was thinking AddFrame was for a top window. As you can see, I'm new to U++ and still learning my way around. It seems pretty obvious now that I see the example and search it out.