From b5d6fe4af8ef6404fdb7203610f8792f298a7665 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Nov 2024 16:02:18 +0300 Subject: more old shit to discard --- plugins/HistoryPlusPlus/HistoryGrid.pas | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'plugins/HistoryPlusPlus/HistoryGrid.pas') diff --git a/plugins/HistoryPlusPlus/HistoryGrid.pas b/plugins/HistoryPlusPlus/HistoryGrid.pas index ab0ad610d7..a6bfdbb1ca 100644 --- a/plugins/HistoryPlusPlus/HistoryGrid.pas +++ b/plugins/HistoryPlusPlus/HistoryGrid.pas @@ -3364,9 +3364,6 @@ begin if iObject.QueryInterface(IID_ITooltipData, iTooltipCtrl) = S_OK then OleCheck(iTooltipCtrl.GetTooltip(ObjectHint)) - else if Supports(iObject, IID_IGifSmileyCtrl) then ObjectHint := TranslateW('Running version of AniSmiley is not supported') - else if Supports(iObject, IID_ISmileyAddSmiley) then ObjectHint := TranslateW('Running version of SmileyAdd is not supported') - else if Supports(iObject, IID_IEmoticonsImage) then ObjectHint := TranslateW('Running version of Emoticons is not supported') else break; if ObjectHint = '' then @@ -4044,21 +4041,6 @@ begin if not IsRectEmpty(smRect) then InvalidateRect(Handle, @smRect, False); end - else if (nmh.bEvent = FVCN_GETINFO) and (nmh.bAction = FVCA_NONE) then - begin - RichItem := FRichCache.GetItemByHandle(Message.nmhdr^.hwndFrom); - if not Assigned(RichItem) then - exit; - if (RichItem.GridItem = -1) or (RichItem.GridItem = FItemInline) then - exit; - if not RichItem.BitmapDrawn then - exit; - // if (State = gsIdle) or (State = gsInline) then - nmh.bAction := FVCA_INFO; - nmh.rcRect := GetRichEditRect(RichItem.GridItem, True); - nmh.clrBackground := RichItem.Bitmap.TransparentColor; - nmh.fTransparent := False; - end; end else {$ENDIF} -- cgit v1.2.3