Pick 0n a picture??

Started by Hypersonic, December 28, 2007, 05:18:16 PM

Previous topic - Next topic

Hypersonic

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!

Kerry

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 )
)
Perfection is not optional.
My other home is TheSwamp

Hypersonic

Thanks Kerry! Where there is a will, there is a way.....