r19634@cathode-dark-space: jaltman | 2007-06-22 15:05:44 -0400
ticket: 5584
The new credentials window now applies Windows XP theme settings to
dialog panels that are hosted within tab controls.
ticket: 5584
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19792
dc483132-0cff-0310-8789-
dd5450dbe970
msimg32.lib \
ole32.lib
+!if "$(APPVER)" != "5.0"
+SDKLIBFILES = $(SDKLIBFILES) uxtheme.lib
+!endif
+
$(OBJ)\uiconfig.c: uiconfig.csv $(CONFDIR)\csvschema.cfg
$(CCSV) $** $@
#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
}
}