Hello,
For my current project, I am attempting to create a custom titlebar, along the lines of Starcraft 2, the League of Legends launcher and the World of Warcraft launcher. I've set my RenderWindow's style to None, and I can render the top bar with other SFML code. However, I want the user to be able to drag the window around the desktop using the titlebar. I can check if the user is pressing the title bar, and see when the mouse moves, but I can't find a way to figure out where to move the window. I need to move the window based on the movement of the mouse. My first thought was to find the position of the window and add the position of the mouse on the window, but I failed to find a GetPosition function on the window. My second option was to see if I could get the cursor's desktop position, and set the window to that minus the mouse's position on the window, but I also failed to find this. Does anyone know where I can get one of these two functions or another way to accomplish my goal?