SFML community forums

Bindings - other languages => DotNet => Topic started by: Richy19 on March 02, 2012, 09:50:31 pm

Title: get window position?
Post by: Richy19 on March 02, 2012, 09:50:31 pm
How do you get the window position?
I want to get the mouse position relative to the window but I need the window position to do this.
Title: get window position?
Post by: Chris12 on March 02, 2012, 09:52:57 pm
Mouse.GetPosition(renderWindow);

Will retrieve the position relative to the renderwindow, you don't need its position.