Hi ctarmor-et,
After reading your previous post about hooking into Anvil main thread, I successfully got Anvil main thread listening to WM_USER* messages. But somehow the filter function was called twice when I just post one message to main thread.
Following is the hooking codes, message...