Well I can't find a way to create window that is created maximized. I thought about using VideoMode::getDesktopMode() and deduct taskbar, title and borders dimensions, but that's impossible because there are so many possibilities, skins etc so that wouldn't work. Is there any way to create maximized window in sfml? By maximized I mean this
http://i.imgur.com/yCP1o.png (i mean file browser window ofc). Probably it can be done somehow in winapi but I'd prefer to find SFML solution.
Thanks in advance!
EDIT:
Yes, doing it while creating window in winapi is pretty easy. However I'm still looking for SFML solution to this problem (portable code is very important to me). So I'm still in need of sfml solution!
EDIT2:
SFML has window.setSize function (obviously), so I think there is some way to force sfml to send "maximize window" to OS. But I simply can't find it in documentation but I think it must exist.