[SDL] [HELP] Displaying on several windows

Guillaume MAISON gmaison at nauteus.com
Fri Jan 13 01:46:01 PST 2006


Hi everyone,

i'm using the Delphi JEDI-SDL wrapper for SDL and Delphi 7 on win32.

my purpose is to use SDL to display several Motion JPEG (MJPEG) streams within an application.
i've seen in the documentation that there's an envvar (SDL_WINDOWID) that has to be set if you
want to use a window as a surface to display.

As i want to display several streams and as the SDL_WINDOWID seems to be unique for the application,
i don't know how to create more than one display (Actually, for those who know Delphi, i'm using a TPanel object - which has a 
HWND - to display the JPEG images).

Is there a way to set several windowsID or do i have to create just one and manage my own way
to display all the streams within this display ?

Thanks in advance for you help,

Best regards,

-- 

Guillaume MAISON - N at uteus
83, Cours Victor Hugo
47000 AGEN
Tél : 05 53 87 91 48 - Fax : 05 53 68 73 50
e-mail : gmaison at nauteus.com - Web : http://nauteus.com





More information about the SDL mailing list