aboutsummaryrefslogtreecommitdiff
path: root/src/libs/dutil/WixToolset.DUtil/thmutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/thmutil.cpp')
-rw-r--r--src/libs/dutil/WixToolset.DUtil/thmutil.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/thmutil.cpp b/src/libs/dutil/WixToolset.DUtil/thmutil.cpp
index a7a7e45b..4482c96e 100644
--- a/src/libs/dutil/WixToolset.DUtil/thmutil.cpp
+++ b/src/libs/dutil/WixToolset.DUtil/thmutil.cpp
@@ -856,6 +856,28 @@ DAPI_(void) ThemeInitializeWindowClass(
856} 856}
857 857
858 858
859DAPI_(void) ThemeInitializeWindowClassEx(
860 __in THEME* pTheme,
861 __in WNDCLASSEXW* pWndClass,
862 __in WNDPROC pfnWndProc,
863 __in HINSTANCE hInstance,
864 __in LPCWSTR wzClassName
865 )
866{
867 pWndClass->cbSize = sizeof(WNDCLASSEXW);
868 pWndClass->style = CS_HREDRAW | CS_VREDRAW;
869 pWndClass->cbWndExtra = DLGWINDOWEXTRA;
870 pWndClass->hCursor = ::LoadCursorW(NULL, (LPCWSTR)IDC_ARROW);
871
872 pWndClass->lpfnWndProc = pfnWndProc;
873 pWndClass->hInstance = hInstance;
874 pWndClass->lpszClassName = wzClassName;
875
876 pWndClass->hIcon = reinterpret_cast<HICON>(pTheme->hIcon);
877 pWndClass->hbrBackground = pTheme->rgFonts[pTheme->dwFontId].hBackground;
878}
879
880
859DAPI_(HRESULT) ThemeCreateParentWindow( 881DAPI_(HRESULT) ThemeCreateParentWindow(
860 __in THEME* pTheme, 882 __in THEME* pTheme,
861 __in DWORD dwExStyle, 883 __in DWORD dwExStyle,