custom button or graphic with multi select points
-
We need a custom button or custom graphic to be able to have multiple select points. We have looked at Button Objx and other tools but no luck yet. Eg. have a vehicle button or graphic and based on selection, eg. doors, hood, wheels, etc. go to different events or mark selections. We would need an outline front/back of a human body as well. Also, would need graphic/button to be able to be resized based on resolution. Any ideas of what we can do. thank you
CLAY
-
We need a custom button or custom graphic to be able to have multiple select points. We have looked at Button Objx and other tools but no luck yet. Eg. have a vehicle button or graphic and based on selection, eg. doors, hood, wheels, etc. go to different events or mark selections. We would need an outline front/back of a human body as well. Also, would need graphic/button to be able to be resized based on resolution. Any ideas of what we can do. thank you
CLAY
Kyle P wrote:
We need a custom button or custom graphic to be able to have multiple select points...Any ideas of what we can do.
See here.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
We need a custom button or custom graphic to be able to have multiple select points. We have looked at Button Objx and other tools but no luck yet. Eg. have a vehicle button or graphic and based on selection, eg. doors, hood, wheels, etc. go to different events or mark selections. We would need an outline front/back of a human body as well. Also, would need graphic/button to be able to be resized based on resolution. Any ideas of what we can do. thank you
CLAY
What i would do: - Create a bitmap of a car. - define rectangles where the user may click on. Save those rectangles (origins and sizes) in an array or file - run the program and measure its screen-size - calculate the difference in size of the screen and the bitmap in a ratio - read in the bitmap and put it on screen. Stretch it when needed (use StretchBlt() ?) - read in the rectangles - When stretched multiply all coords of the rectangles with the ratio. - program the actions - Monitor the mouse up messages: when the mouse is in one of the rectangles, invoke the corresponding action. ready... If you still have time over: - take the bitmap and cut out every rectangle, colorize it a bit and save it as a new bitmap. Now every rectangle has a (sub)bitmap that can be displayed while the mouse hoovers over the rectangle (you'll need to monitor mouse moves also) .. Rozis
modified on Wednesday, April 28, 2010 8:38 PM