Win32 : Getting Window Handle

Hello World,

Is there an easy way to get the window handle
used for the SDL window on Win32 ?

    Franck.-- 

mailto:fguillaud at ivsweb.com

Hello World,

Is there an easy way to get the window handle
used for the SDL window on Win32 ?

Yes. Use the interfaces in SDL_syswm.h.

See the scrap demo for an example:
http://www.libsdl.org/projects/scrap/

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Great ! Thank you Sam.

   Franck.

Sam Lantinga wrote:>

Hello World,

Is there an easy way to get the window handle
used for the SDL window on Win32 ?

Yes. Use the interfaces in SDL_syswm.h.

See the scrap demo for an example:
http://www.libsdl.org/projects/scrap/

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

mailto:fguillaud at ivsweb.com