[SDL] Hidding the windowtitle

Kevin Macey image28 at xtra.co.nz
Sun Feb 11 19:27:50 PST 2007


I'm getting a problem compiling similar code related
to this, that uses the SetWindowPos() function and
I also had similar errors getting the code
you submitted compiling.

attached are the error logs and the
main window source file.

Trying to make a movable, shadable , resizable
windows window that uses my alternate
gui lib, the source is a test of the
replacement titlebar and border.

Any help will be appreciated.

- Kevin

Benjamin Sonnemann wrote:
> to get the window position in windows you would have to do
> it like that:
> 
> SDL_SysWMinfo sysWMInfo;
> SDL_GetWMInfo(&sysWMInfo);
> RECT rWindow;
> GetWindowRect(sysWMInfo.window, &rWindow);
> 
> cant verify atm but that shoudl do the trick.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ERRORS.TXT
Url: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070212/22779b26/attachment.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testing-main-window.c
Url: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070212/22779b26/attachment-0001.ksh 


More information about the SDL mailing list