1 #ifndef ALTSPACESUPPRESSOR_HH 2 #define ALTSPACESUPPRESSOR_HH 10 class WindowLongPtrStacker
13 WindowLongPtrStacker(
int index, LONG_PTR value);
14 void Push(HWND hWndArg);
16 LONG_PTR GetOldValue();
20 LONG_PTR oldValue, newValue;
25 class AltSpaceSuppressor
28 static void Start(HWND hWnd);
31 static WindowLongPtrStacker procStacker;
32 static LRESULT CALLBACK InterceptorWndProc(
37 static bool SuppressAltSpace(
Thanks to enen for testing this on a real cartridge: