When the native Windows XP theme is used, all the windows in Prof-UIS are drawn using Windows XP theme API. You can apply this theme with this line of code:
g_PaintManager.InstallPaintManager( RUNTIME_CLASS(CExtPaintManagerNativeXP) );

Native Windows XP theme