Jump to content
Sign in to follow this  
blahblahblah5038

pictures over button

Recommended Posts

blahblahblah5038

I am writing a program where I need to let the user click a picture, record the position only if it is on the picture and then place a marker overtop of the spot where the user clicked. So far I can make a button with a backround picture, detect the click, record the position, and create a marker image, the problem is that the smaller marker image is hidden behind the button. is there a way to fix this, and is there a way to still be able to detect further clicks if they click near or on top of the marker image?


Noteworthy works:Fast Pixel SearchSigned: WG

Share this post


Link to post
Share on other sites
Zedna

You don't need buttons. Just place picture control and get position from mouse click and paint your marker to this position.

Look at Map project

and also look at my Radar project in my signature to see how to draw such simple marker (crosshair).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×