Objective Toolkit : Chapter 5 Look and Feel Styles : Microsoft Vista Classic Style
Microsoft Vista Classic Style
The Vista Classic style feature allows your applications to take on a look and fill similar to Windows Vista Classic. This visual style is theme-enabled, and requires Windows Vista.
The Vista Classic look and feel is enabled for Objective Toolkit and Objective Grid controls. MFC-derived and Stingray custom controls now have the Vista Classic look and feel.
Applications and samples enable a particular drawing style with the function call RWSetVisualStyle(). Using this function requires inclusion of the header file RWUXTheme.h, which is found in the <stingray-installdir>\RWUXTheme\Include directory. RWSetVisualStyle() should be placed in the application or sample’s main InitInstance() or InitDialog() function call. The call should look like this:
 
RWSetVisualStyle(RW_VISUALSTYLE_VISTACLASSIC);
The following themes are available through this call:
RW_VISUALSTYLE_WINDOWSCLASSIC
RW_VISUALSTYLE_DOTNET
RW_VISUALSTYLE_OFFICE2003
RW_VISUALSTYLE_VISTACLASSIC.