https://bugs.documentfoundation.org/show_bug.cgi?id=118320

--- Comment #59 from Pedro <vermelhusco1...@gmail.com> ---
Trying to read their code in Github. Is this the relevant bit?

https://github.com/winscp/winscp/blob/master/source/windows/UserInterface.cpp

line 376:
void __fastcall ConfigureInterface()
{
  int BidiModeFlag =
    AdjustLocaleFlag(LoadStr(BIDI_MODE), WinConfiguration->BidiModeOverride,
false, bdRightToLeft, bdLeftToRight);
  Application->BiDiMode = static_cast<TBiDiMode>(BidiModeFlag);
  SetTBXSysParam(TSP_XPVISUALSTYLE, XPVS_AUTOMATIC);
  if (WinConfiguration != NULL)
  {
    UnicodeString Theme = WinConfiguration->UseDarkTheme() ? L"DarkOfficeXP" :
L"OfficeXP";
    if (!SameText(TBXCurrentTheme(), Theme))
    {
      TBXSetTheme(Theme);
    }
  }

And maybe in these next pages?
https://github.com/winscp/winscp/blob/master/source/components/ThemePageControl.cpp

https://github.com/winscp/winscp/blob/master/source/components/ThemePageControl.h

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to