Hi,
I need to paint my own background on a remote process MDIClient Window.
I'm using Madcodehook to inject my DLL to remote process, and within it, hooking the CreateWindow API to know when the MDClient window is created. On the my hooking CreateWindow function, just after the original CreateWindow is called, I subclass the MDIClient Window, with my own wndProc (thanks iconic for your code sample on this forum, I'm doing the same).
All works fine, but my subclassed wndProc don't receive WM_PAINT and WM_ERASEBKGND messages. Other messages are received (WM_MOVE, VM_SIZE ...)
If I monitor this window with Microsoft Spy++, I see the messages arriving to the window.
Any help will be apprecied to know what's happening.
Thanks in advance.