Skip to content

Commit aa238a9

Browse files
committed
Avoid SetFocus for prevent freezing on ActivateHint when inactive.
1 parent 74cd2f8 commit aa238a9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

SpoilerAL-winmm.dll/FixSortTitle/Attach_FixSortTitle.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,25 @@ EXTERN_C void __cdecl Attach_FixSortTitle()
1515
*(LPDWORD)0x00476941 = (DWORD)TTitleSelectForm_CnvString - (0x00476941 + sizeof(DWORD));
1616
*(LPBYTE )0x00476945 = NOP;
1717

18+
// TTitleSelectForm::TitleDGridMouseMove
19+
*(LPBYTE )0x004783EA = NOP;
20+
*(LPBYTE )0x004783EB = JMP_REL32;
21+
*(LPDWORD)0x004783EC = 0;
22+
23+
// TTitleSelectForm::KeyDGridMouseMove
24+
*(LPBYTE )0x0047938B = NOP;
25+
*(LPBYTE )0x0047938C = JMP_REL32;
26+
*(LPDWORD)0x0047938D = 0;
27+
1828
// TFindNameForm::CnvString
1929
*(LPBYTE )0x00486528 = JMP_REL32;
2030
*(LPDWORD)0x00486529 = (DWORD)TFindNameForm_CnvString - (0x00486529 + sizeof(DWORD));
2131
*(LPBYTE )0x0048652D = NOP;
32+
33+
#ifdef ForegroundTask
34+
// TApplication::ActivateHint
35+
*(LPBYTE )0x0057222F = NOP;
36+
*(LPBYTE )0x00572230 = JMP_REL32;
37+
*(LPDWORD)0x00572231 = 0;
38+
#endif
2239
}

0 commit comments

Comments
 (0)