PerryBruins
November 17th, 2003, 06:07 AM
Hi all,
I am trying to set a hook for CallWndProc in order to catch the WM_PAINT message. Now, everything works, setting the hook, loading the dll, unhooking, etc, but I never seem to get a WM_PAINT message.
Does someone know why this is?
Second questions is, how can I get the bitmap of the window being painted to send to another application? As you can see in the attached code, I am experimenting with WM_COPYDATA, but I am not sure if this is the right way.
Any reply will be greatly appreciated!
Thanks in advance, Perry
I am trying to set a hook for CallWndProc in order to catch the WM_PAINT message. Now, everything works, setting the hook, loading the dll, unhooking, etc, but I never seem to get a WM_PAINT message.
Does someone know why this is?
Second questions is, how can I get the bitmap of the window being painted to send to another application? As you can see in the attached code, I am experimenting with WM_COPYDATA, but I am not sure if this is the right way.
Any reply will be greatly appreciated!
Thanks in advance, Perry