logo
Published on Haiku Project (http://www.haiku-os.org)

Detect overlapping window

By mohmed
Created 2008-04-19 07:49

Hi all,
Im wondering if anyone can help me..

Ive been trying to modify the window.cpp code so that when a window is moved it can detect whether there is another window under it. I have tried looking into the window dragging code in window.cpp to try and capture when a window has moved on top of another one. I have also tried working with a list of windows that i retrived from Desktop.cpp but when i use that list in the window.cpp file the virtual machine gives me an error. Am I looking at the right areas or is there another section of code i should be looking at?

any help would be appreciated..

thanks

‹ Using build images with Virtual PC [0] GUI abilities › [0]

Source URL:
http://www.haiku-os.org/community/forum/detect_overlapping_window