INTERACT FORUM
Windows => Plug-in Development => Topic started by: RhinoBanga on August 28, 2002, 09:47:12 am
-
Matt/Nikolay,
Are you doing anything funny with rebars?
For example in normal mode AV2's rebar looks like:

But with skinning it looks like:

Notice the "Large Image Size" combo being stretched.
Any ideas?
-
maybe it is the skin?
-
It happens with Z, WoodDeck and Techno.
Also a skin is just a collection of graphics and names of fonts/colours ... it's MJ who does the owner drawing of the controls.
-
I'm not sure what's going on in this particular case, but you may find lots of "holes" in our skinning engine. Although it's generic and can skin most controls, we only flushed out the pieces and styles that Media Jukebox currently uses.
Could Enable/DisableSkinning(...) work for for the Rebar.Create(...)?
Thanks.
-Matt
-
Hi Matt,
I changed the code to:
AlbumView::m_pMJ->EnableSkinning( FALSE );
m_prbrMain->Create( this, WS_CHILD|WS_VISIBLE|RBS_FIXEDORDER|RBS_VARHEIGHT|CCS_NODIVIDER);
AlbumView::m_pMJ->EnableSkinning( TRUE );
To disable skinning and the rebar appeared as normal.
Unfortunately the application looked really awful.
Will you fix this or should I just put a note in my documentation as to why the toolbar looks bad?