Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Bindings - other languages
»
DotNet
»
get window position?
Print
Pages: [
1
]
Author
Topic: get window position? (Read 2936 times)
0 Members and 1 Guest are viewing this topic.
Richy19
Full Member
Posts: 190
get window position?
«
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.
Logged
Chris12
Newbie
Posts: 20
get window position?
«
Reply #1 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.
Logged
Print
Pages: [
1
]
SFML community forums
»
Bindings - other languages
»
DotNet
»
get window position?
anything