When testing my app with a low screen resolution, I’m finding that giving my window a 0 initial x position can place it under the dock, if the user has it placed on the left. Is there a way to find the position and size of the dock so that my window won’t appear under it?
The mac-specific call to do this would involve GetAvailableWindowPositioningBounds(), which would also help to make sure windows weren’t placed under the title bar at the top, which changes height based on resolution.