You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if THThemesClasses.Classes.ContainsKey(Result) then
163
163
THThemesClasses.Classes.Remove(Result);
@@ -209,6 +209,7 @@ function Detour_UxTheme_DrawThemeBackground(THEME: HTHEME; dc: HDC; iPartId, iS
209
209
var
210
210
LScrollDetails: TThemedScrollBar;
211
211
begin
212
+
AddLog2('DrawScrollBarVCLStyles');
212
213
LStyleServices := ColorizerStyleServices;
213
214
LScrollDetails := tsScrollBarRoot;
214
215
LDetails.Element := TThemedElement.teScrollBar;
@@ -581,8 +582,10 @@ function Detour_UxTheme_DrawThemeBackground(THEME: HTHEME; dc: HDC; iPartId, iS
581
582
end;
582
583
583
584
begin
585
+
// AddLog2('TrampolineDrawThemeBackground 1');
584
586
ifnot (THThemesClasses.Classes.ContainsKey(THEME) and Assigned(TColorizerLocalSettings.ColorMap) and Assigned(TColorizerLocalSettings.Settings) and TColorizerLocalSettings.Settings.Enabled) then
AddLog2(Format('Detour_WinApi_DrawFrameControl uType %d State %d', [uType, uState]));
180
+
181
+
if( uType=DFC_SCROLL) and (Rect<>nil) and Assigned(TColorizerLocalSettings.Settings) and (TColorizerLocalSettings.Settings.Enabled) then
182
+
begin
183
+
184
+
LWinControl:=nil;
185
+
OrgHWND :=WindowFromDC(DC);
186
+
if OrgHWND<>0then
187
+
LWinControl :=FindControl(OrgHWND);
188
+
189
+
if LWinControl<>nilthen
190
+
begin
191
+
LParentForm:= GetParentForm(LWinControl);
192
+
ifnot (Assigned(LParentForm) and Assigned(TColorizerLocalSettings.HookedWindows) and (TColorizerLocalSettings.HookedWindows.IndexOf(LParentForm.ClassName)>=0)) then
0 commit comments