I have a program that gets the desktops workarea size then makes a window with that size and it works good for displaying the window as large as the screen and not cover up the taskbar but either this or sfml's window class is causing a transparent border to shrink the window at the top.
Here's my code:
IntRect getWorkArea()
{
RECT rcWorkArea = { 0 };
SystemParametersInfo( SPI_GETWORKAREA, 0, &rcWorkArea, 0 );
return IntRect(int(rcWorkArea.left),int(rcWorkArea.top),int(rcWorkArea.right),int(rcWorkArea.bottom));
}
int main()
{
IntRect workarea;
workarea=getWorkArea();
RenderWindow window(VideoMode(workarea.width,workarea.height),"Blupi Desktop",Style::None);
//loop stuff
}