[SDL] Hidding the windowtitle (also)

Kevin Macey image28 at xtra.co.nz
Thu Feb 8 13:45:23 PST 2007


Also how would I resize the windows window.
Allowing me to implement shading support.
where it resizes to just the size of the
titlebar when the mouse leaves the window
area.

Thanks for any help ahead of time
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.



More information about the SDL mailing list