SetWindowThemeNonClientAttributes function uxtheme
Sets attributes to control how visual styles are applied to a specified window.
Implementation
int SetWindowThemeNonClientAttributes(int hwnd, int dwMask, int dwAttributes) {
final wta = calloc<WTA_OPTIONS>()
..ref.dwFlags = dwAttributes
..ref.dwMask = dwMask;
try {
return SetWindowThemeAttribute(hwnd, WINDOWTHEMEATTRIBUTETYPE.WTA_NONCLIENT,
wta, sizeOf<WTA_OPTIONS>());
} finally {
free(wta);
}
}