#define OEMRESOURCE
#include<khmapp.h>
+#if _WIN32_WINNT >= 0x0501
+#include<uxtheme.h>
+#endif
#include<assert.h>
ATOM khui_newcredwnd_cls;
if (hf_main)
SendMessage(ncd->tab_wnd, WM_SETFONT, (WPARAM) hf_main, FALSE);
+#if _WIN32_WINNT >= 0x0501
+ EnableThemeDialogTexture(ncd->dlg_main,
+ ETDT_ENABLETAB);
+#endif
+
{
RECT r_main;
RECT r_area;
#ifdef DEBUG
assert(d->nc->types[i]->hwnd_panel);
+#endif
+#if _WIN32_WINNT >= 0x0501
+ if (d->nc->types[i]->hwnd_panel) {
+ EnableThemeDialogTexture(d->nc->types[i]->hwnd_panel,
+ ETDT_ENABLETAB);
+ }
#endif
}
}