How to display on special dialog item?

hi all,

I have question about use SDL library on windowsXP.

I want to play movie file using SDL library.

SDL for display use SDL_SetVideoMode().

when this function call, new window create.

I don’t want to create new window.

because I have my dialog box. I want to display on special dialog item.

How to use SDL library for display on special dialog item ?

please help me

First option:
Use the Windows API to get the window id of your dialog box, then set
the env var SDL_WINDOWID to that and call SDL_SetVideoMode.

Second option:
Use a better tool for the job, such as xine, mplayer, gstreamer.

You might want to check out SDL_ffmpeg:
http://www.arjanhouben.nl/SDL_ffmpeg/

Tim Jones
www.sdltutorials.comOn Fri, Jun 19, 2009 at 5:42 AM, Stefan Monov wrote:

First option:
Use the Windows API to get the window id of your dialog box, then set
the env var SDL_WINDOWID to that and call SDL_SetVideoMode.

Second option:
Use a better tool for the job, such as xine, mplayer, gstreamer.


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