How to receive WM_COPYDATA in SDL window?

I want to receive WM_COPYDATA message in my SDL-window, created with SDL_SetVideoMode(), but is there some kind of event I can receive with SDL_PollEvent?
Or can I modify a windowproc of the SDL-window?

You can set an event filter with SDL_SetEventFilter and watch for the
SDL_SYSWMEVENT event, which has an event structure:
struct SDL_SysWMmsg
{
SDL_version version;
SDL_SYSWM_TYPE subsystem;
struct {
HWND hwnd; /< The window for the message */
UINT msg; /
< The type of message */
WPARAM wParam; /< WORD message parameter */
LPARAM lParam; /
< LONG message parameter */
} win;
}On Wed, Nov 21, 2012 at 1:20 AM, REVERSE wrote:

**
I want to receive WM_COPYDATA message in my SDL-window, created with
SDL_SetVideoMode(), but is there some kind of event I can receive with
SDL_PollEvent?
Or can I modify a windowproc of the SDL-window?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org