By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,510 Members | 1,810 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,510 IT Pros & Developers. It's quick & easy.

Shapes and Clicks

P: 60
I am creating a program where the user selects a page and a map loads in a picture control. They can then draw shapes to the screen on a layer the map that are transparant. Later, they can click a shape that is on the screen to load information associated with that shape. It may be because i'm feeling a bit befuddled and confused this morning, but I can't seem to figure out how to layer the shapes. Would it be best to create new pictureboxes and draw to them? If so, how would i make sure to only load the information associated with a shape when part of the shape was clicked and not the negative space in the picture box? Or is there a better method for achieving this? Any suggestions, help, or tutorial links on this topic would be appreciated.
Apr 16 '07 #1
Share this Question
Share on Google+
3 Replies


Expert 5K+
P: 8,434
The basic concepts may apply to more than one language. But I suspect that a lot of the details of how to achieve this will depend on the version of VB that you are using.

Also, it might help to try some searches for key terms such as "hotspots". We have a good search tool which will find references on TheScripts, and if necessary can be extended to search the web generally.
Apr 17 '07 #2

P: 60
Thank you for your response.

I didn't know what to search for (or what the concept was called) which makes it difficult to find any information on the topic. On top of that I was feeling very not well yesterday, so I couldn't even think straight.

Knowing that the idea is called a "hot spot" has allowed me to find many articles on the topic and topics related to it that are useful as well.
Apr 17 '07 #3

Expert 5K+
P: 8,434
Thank you for your response.

I didn't know what to search for (or what the concept was called) which makes it difficult to find any information on the topic. On top of that I was feeling very not well yesterday, so I couldn't even think straight.

Knowing that the idea is called a "hot spot" has allowed me to find many articles on the topic and topics related to it that are useful as well.
Cool! :)

I thought that having the correct term to search for might help.

Hope you're feeling better.
Apr 17 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.