kohait00 Messages: 939 Registered: July 2009 Location: Germany
Experienced Contributor
sorry, forgot to add one line in the post
//set a different align for all 4 TabBar's
for (int i = 0; i < 4; i++)
bar[i].SetAlign((i+1) % 4);
//add only the first to main application window, the others on demand
AddFrame(bar[0]);
you add the TabBars as Frames to your main application Ctrl (or whereever you need them)