Jean-Luc Arnaud
2018-03-16 16:42:56 UTC
Hi all,
I'm used to drawing icons in Listbox cells.
I need to compare these icons with pictures, in order to determine what
action should fire when clicked.
I know coordinates of each icon in the cell.
1) Is the RGBSurface and Pixel comparison a good way?
2) How to get an RGBSurface of a cell area in the CellClick event? I
can't figure out how to get a Graphics object of the area and then a
RGBSurface.
All suggestion welcome, including MBS plugins use.
TIA for your help.
I'm used to drawing icons in Listbox cells.
I need to compare these icons with pictures, in order to determine what
action should fire when clicked.
I know coordinates of each icon in the cell.
1) Is the RGBSurface and Pixel comparison a good way?
2) How to get an RGBSurface of a cell area in the CellClick event? I
can't figure out how to get a Graphics object of the area and then a
RGBSurface.
All suggestion welcome, including MBS plugins use.
TIA for your help.
--
Jean-Luc Arnaud
Jean-Luc Arnaud