charlesshoults
06-10-2009, 01:37 AM
Lets say you have the following component:
http://battletechlive.files.wordpress.com/2009/06/picture-1.png
In order to get the playlist to look correct, an image is in the very back, with a dataGrid over it, and finally the overlay image on top of the dataGrid. The problem now is that the dataGrid is inaccessible to the mouse, so tracks can't be changed except by clicking the previous and next buttons in the small player above. So, how do you make it work? I can capture the mouseX and mouseY position as it relates to the overlay, but can that be translated into directions for selecting the dataGrid beneath, including being able to scroll up and down through the list? It would be truly convenient if the overlay image could be made transparent to the mouse so that the dataGrid has focus instead of the overlay.
http://battletechlive.files.wordpress.com/2009/06/picture-1.png
In order to get the playlist to look correct, an image is in the very back, with a dataGrid over it, and finally the overlay image on top of the dataGrid. The problem now is that the dataGrid is inaccessible to the mouse, so tracks can't be changed except by clicking the previous and next buttons in the small player above. So, how do you make it work? I can capture the mouseX and mouseY position as it relates to the overlay, but can that be translated into directions for selecting the dataGrid beneath, including being able to scroll up and down through the list? It would be truly convenient if the overlay image could be made transparent to the mouse so that the dataGrid has focus instead of the overlay.