Hello,
I’ve been trying to use the SDL_WINDOWID hack
in Win32 but failed to make it work.
Aparently SDL is ignoring it and it always opens
a new window.
I do all the usual stuff, convert an HWND to an
integer and put it into the environment before
calling SDL functions.
Any clues ?
Thanks in advance,
Paulo Pinto
I do all the usual stuff, convert an HWND to an
integer and put it into the environment before
calling SDL functions.
You should set the variable using _putenv() and BEFORE the first call to
SDL_Init().
Bye,
Gabry
That’s what I am doing.
I am doing this on the WM_CREATE message. Should I
wait for the window to be fully created?–
Paulo Pinto
----- Original Message -----
From: gabrielegreco@tin.it (Gabriele Greco)
To:
Sent: Friday, November 29, 2002 5:17 PM
Subject: Re: [SDL] Problems with the SDL_WINDOWID hack in Win32
I do all the usual stuff, convert an HWND to an
integer and put it into the environment before
calling SDL functions.
You should set the variable using _putenv() and BEFORE the first call to
SDL_Init().
Bye,
Gabry
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
That’s what I am doing.
I am doing this on the WM_CREATE message. Should I
wait for the window to be fully created?
Can you post a minimal example of what you’re trying to do?
Thanks,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
What is this hack and how can I get my hands on it?? also how to use it
would be nice…—
Jeffrey D. Means
CIO For MeansPC
@Jeff_Means
----- Original Message -----
From: pjmlp@progtools.org (Paulo Pinto)
To:
Sent: Friday, November 29, 2002 10:46 AM
Subject: Re: [SDL] Problems with the SDL_WINDOWID hack in Win32
That’s what I am doing.
I am doing this on the WM_CREATE message. Should I
wait for the window to be fully created?
–
Paulo Pinto
----- Original Message -----
From: “Gabriele Greco”
To:
Sent: Friday, November 29, 2002 5:17 PM
Subject: Re: [SDL] Problems with the SDL_WINDOWID hack in Win32
I do all the usual stuff, convert an HWND to an
integer and put it into the environment before
calling SDL functions.
You should set the variable using _putenv() and BEFORE the first call to
SDL_Init().
Bye,
Gabry
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl