Pick 0n a picture??

Started by Hypersonic · 2007-12-29 01:18 UTC · 2 replies · SMF topic #126

is it possible to have a picture inserted into a dialog and have the user pick a portion of it?

An example might be a picture of a car, and you might ask the user to pick which part of the car to modify etc.

Thanks!
You could use a MouseUp Event of a PictureBox control to catch the X and Y mouse location and compare the result against a pre-saved index to determine the component indicated


(defun c:Project1_Form1_PictureBox1_OnMouseUp (nButton nFlags nX nY /)
     (Do Stuff )
)
Thanks Kerry! Where there is a will, there is a way.....