I'm trying to make a program that has a world map on it and when you click on a continent you get some basic information about that continent in a textbox. However I am trying to figure out how best to do this if all continents were perfectly square it would be oh so easy.
I've tried individual images of each continent with transparent backgrounds but you can still click on the transparent bits and had issues with overlap. Tried using an image for the form background and then seeing where the user clicks but it seems it would be insane to map coordinate ranges to each continent. Also tried different colours for each continent and blue for water and testing for pixel colour at cursor but that ran into memory issues.
Hoping there is a lovely simple solution (other than not using VB) that I'm just not seeing, any ideas?