Article View: comp.os.os2.programmer
Article #2578Odd shaped polygons (maps) in OS/2
From: David J. Marotta
Date: Fri, 26 Apr 1991 14:26
Date: Fri, 26 Apr 1991 14:26
9 lines
1065 bytes
1065 bytes
I would like to put a map in an OS/2 window which would be a series of oddly shaped polygons. Then I would like to be able to trap mouse clicks within a given country, having the countries act like oddly shaped buttons. I don't know an easy way of trapping the mouse clicks and associating them with the country. Nor the best way to make the countries to accomplish this task (especially when the boarder of one country is also the boarder of its neighbor. Any thoughts or example code? This can't be a unique problem!
Technical Details
Message-ID:
<1991Apr26.142656.690@murdoch.acc.Virginia.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ncar!gatech!mcnc!uvaarpa!murdoch!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ncar!gatech!mcnc!uvaarpa!murdoch!usenet From: djm5g@newton.acc.Virginia.EDU (David J. Marotta) Newsgroups: comp.os.os2.programmer Subject: Odd shaped polygons (maps) in OS/2 Keywords: maps polygons OS/2 Message-ID: <1991Apr26.142656.690@murdoch.acc.Virginia.EDU> Date: 26 Apr 91 14:26:56 GMT Sender: djm5g@virginia.edu Followup-To: djm5g@virginia.edu Organization: University of Virginia Lines: 9 Ireallyam: djm5g