Skip to content

Commit

Permalink
Fixed: Refresh TitleBar on change Dark Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
XusinboyBekchanov committed Mar 10, 2022
1 parent 97dabad commit b45e983
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -2,7 +2,8 @@ MyFbFramework
*.7z
*.bak
Projects/*.exe
*.dll*
lib*.dll*
zlib*.dll*
*_gtk*
*.so
*.o
Expand Down
Binary file added AddIns/FBMemCheckAssist32.dll
Binary file not shown.
Binary file added AddIns/FBMemCheckAssist64.dll
Binary file not shown.
Binary file added AddIns/Help Add-In (x32).dll
Binary file not shown.
Binary file added AddIns/Help Add-In (x64).dll
Binary file not shown.
Binary file added Tools/SPY/SPYHK50.DLL
Binary file not shown.
Binary file added Tools/depends/depends.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions src/frmOptions.frm
Expand Up @@ -2267,6 +2267,8 @@ Private Sub frmOptions.cmdApply_Click(ByRef Sender As Control)
txtLabelEvent.BackColor = clBtnFace
fAddIns.txtDescription.BackColor = clBtnFace
End If
AllowDarkModeForWindow pfrmMain->Handle, DarkMode
RefreshTitleBarThemeColor(pfrmMain->Handle)
RedrawWindow pfrmMain->Handle, 0, 0, RDW_INVALIDATE Or RDW_ALLCHILDREN
#endif

Expand Down

0 comments on commit b45e983

Please sign in to comment.