Actual Window Location RRS feed

  • Question

  • I am dragging an object from one window to another -but only wish to to invoke DragDrop.DoDragDrop when the object I am dragging is at a given location on the target window: as I am allowing clicking on the objects I do not want DoDragDrop all the time.

    The top left of any window is always 0,0 - relative to itself. But how do I determine the location of a window relative to the top left of the screen?
    Thursday, February 28, 2008 6:48 PM


  • With the Window's Top and Left properties.


    Thursday, February 28, 2008 6:58 PM

All replies