Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hello,

Please verify is my understanding of the steps to setup theme file in application is correct:

1. Export "newtheme.bar" file from the appcreator, which has images and color properties etc.
2. Set Theme file using
IRootForm_SetThemeFileName(m_pRootForm, "newtheme.bar");
3. Get the ResFile instance using
IRootForm_GetThemeFile(IRootForm *pif, IResFile **ppif);
4. Through IResFile pointer I have to retrieve the image from bar file and then set the images in the form.

How I will know the IDs of the resource file which needs to be retrieved?

Regards
Abhilasha Jha

After step 2, the properties will be applied to all of the forms in the root form stack.
-Jason

After step 2, the properties will be applied to all of the forms in the root form stack.
-Jason