The simple coding I have is something like this:
Private Sub Form2_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
Dim x As Integer = 10, y As Integer = 10
For i = 0 To 10
e.Graphics.DrawImage(Form1.Images(i), x, y, 17, 17)
y += 24
Images(i) is a group of images (for a minimap): Public Images(10) As System.Drawing.Bitmap
The thing is, I want the images to be 'selectable' via mouse.. Is there a possible way to do this? The reason for this is that they can select a different minimap image to use, depending on what image they actually click.
So what I am asking is if there is any way to detect selecting via mouseclick (hitbox), and if not, what other ways can I go around doing this?