mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 16:31:44 +00:00
[UXTHEME] Implement SetSystemVisualStyle (#7864)
Implement SetSystemVisualStyle based on function and flags found at https://stackoverflow.com/a/1036903 and https://pinvoke.net/default.aspx/uxtheme.SetSystemVisualStyle
This commit is contained in:
parent
99b99bda0f
commit
e307cad501
5 changed files with 82 additions and 15 deletions
|
@ -81,10 +81,18 @@ HRESULT WINAPI OpenThemeFile(LPCWSTR pszThemeFileName,
|
|||
|
||||
HRESULT WINAPI CloseThemeFile(HTHEMEFILE hThemeFile);
|
||||
|
||||
#define UXTAPPLYFLAG_LOADSYSTEMMETRICS 0x01 // https://stackoverflow.com/a/1036903
|
||||
#define UXTAPPLYFLAG_APPLYSYSTEMMETRICS 0x20 // https://stackoverflow.com/a/1036903
|
||||
|
||||
HRESULT WINAPI ApplyTheme(HTHEMEFILE hThemeFile,
|
||||
char *unknown,
|
||||
UINT Flags,
|
||||
HWND hWnd);
|
||||
|
||||
HRESULT WINAPI SetSystemVisualStyle(PCWSTR pszStyleFile,
|
||||
PCWSTR pszColor,
|
||||
PCWSTR pszSize,
|
||||
UINT Flags);
|
||||
|
||||
HRESULT WINAPI GetThemeDefaults(LPCWSTR pszThemeFileName,
|
||||
LPWSTR pszColorName,
|
||||
DWORD dwColorNameLen,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue