Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » How to convert XML skin to binary skin file Collapse All
Subject Author Date
Robert Hofstetter Sep 8, 2009 - 11:47 PM

I’d like to customize the aqua skin with our own graphics. How do I convert the XML skin with customized graphics to the binary skin file ?

Technical Support Sep 10, 2009 - 4:33 AM

We don’t have any conversion tool for that. You can use a modified version of the Skinable sample application. The CMainFrame::OnThemeLoadSkinXml() method is invoked when you pressed the Load XML Skin button. You can add the following line to the end of this method:

 VERIFY( pPM->m_Skin.SerializeFile( _T("Test.Skin"), true, false ) );
As a result, the Test.Skin binary skin file will be generated.