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

Author Topic: window out of screen  (Read 1066 times)

0 Members and 1 Guest are viewing this topic.

carlospereira

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
window out of screen
« on: June 03, 2013, 02:54:56 pm »
Hi,

I would like know how to move a window partly out of screen. I set the position using window.setPosition, but the window goes to edge of screen, and the window.getPosition returns the value of the window in this position (the edge of screen), not the value that I set (bigger than the value returned).


Thanks,
Carlos
« Last Edit: June 11, 2013, 06:13:08 pm by carlospereira »

carlospereira

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: window out of screen
« Reply #1 on: June 11, 2013, 06:11:44 pm »
Hi,

I will explain better what I need:
I want to implement a window movimentation where the user clicks on a area of the window and this moves together with the mouse. But when the user moves the window near of the edge of the screen, the window stops in the edge, not following the mouse (when a portion of the screen should be out of screen)! I tested my code and if I set a value to the window.setPosition that overflow the value of the edge, the setPosition truncates my value to stay in the edge of the screen!!!

I cannot move a window to out of screen or I am doing something wrong???


Thank you!
Carlos Pereira