[SDL] Using MFC with an SDL window?
slouken at devolution.com
Sun Jan 19 16:18:02 PST 2003
> This proved to be an interesting one to track down :). In
> ./src/video/wincommon/SDL_systevents.c, in the code that handles
> WM_GETMINMAXINFO, you'll see the following:
> AdjustWindowRect(&size, GetWindowLong(hwnd, GWL_STYLE), FALSE);
> That ``FALSE'' basically says "I don't have a menu" (which may or may not
> be true, depending on how you create the window). The attached patch
> should do the trick.
Thanks! I've applied your patch to CVS.
-Sam Lantinga, Software Engineer, Blizzard Entertainment
More information about the SDL