c# - How to handle overlapping mouse input in GUI? -
we developing gui system. how can handle input of front panel, if has panel under it? mean, if click on front panel, mouse input effects on lower panel. how can avoid it? searched problem on net. example, z-indexing systems or layering systems. not ended well. there not resources it.
use boolean check if panel active. when panel clicked set last panel false , new panel clicked true.
then when clicking use boolean , code fore mouse click on panel comes active.
Comments
Post a Comment