I have some static text and I want to determine whether it is clicked. For this I catch mouse up event and check if it is on static text rectangle. Till this point everything is ok. But I also want to eliminate click processing when some window covers the text. But GUI element's method
is not helpful. It returns 'true" even if element is hidden by another window! So is there any way to determine whether element is clipped by another one?