10-24-2024, 01:08 AM
(10-22-2024, 10:55 AM)mdijkens Wrote: For screens with a lot of controls/buttons with click/hover/rollover effect I've used the alpha channel a lot to detect if the mouse was over a certain area.
You can make your controls alpha-color &HFE and downwards and then check with _Alpha32(Point(_mouseX,_mouseY)) for the alpha value...
this is a good trick! Using the information brought by memory screen for evaluating the position of an object on the screen from its graphic rappresentation. (Using the screen as a map!)
it implies that alpha channel is exclusive for specific graphic areas.