Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: get window position?  (Read 2936 times)

0 Members and 1 Guest are viewing this topic.

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
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.

Chris12

  • Newbie
  • *
  • Posts: 20
    • View Profile
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.

 

anything