Hi WiiLF23,
Yes, it then allows one to set the text color...without needing owner draw.
No major change to the group box appearance so still looks the same.
proto is -
HRESULT SetWindowTheme(
[in] HWND hwnd,
[in] LPCWSTR pszSubAppName,
[in] LPCWSTR pszSubIdList
);
From MS:
When pszSubAppName and pszSubIdList are NULL, the theme manager removes the previously applied associations. You can prevent visual styles from being applied to a specified window by specifying an empty string, (L" "), which does not match any section entries.
So NULL removes while L"" inhibits application as I read it. In my case both would be OK, maybe NULL is preferred in some situations though.
John Z