Developer

API Reference

IRootForm_SetThemeFileName()

Brew Release
Brew MP 1.0.2
See Also
IRootForm IResFile IRootForm_GetThemeFileName()
Description
This function sets the current theme used by the RootForm to the specified filename. The specified theme filename is maintained in the RootForm and all forms on the formstack are re-themed with the content in the specified theme file.
Parameters
  • pif
    []:
    [in] Pointer to the IRootForm interface object.
  • name
    []:
    [in] Pointer to the theme filename string
Interface
Prototype
   int IRootForm_SetThemeFileName(IRootForm *pif, const char *name); 
Return
   AEE_SUCCESS: theme filename set
   AEE_EFAILED: theme filename not settable in RootForm or unable to set or duplicate 
Side Effect
None
Comment
None
  • Follow