|
-
Mar 14th, 2000, 05:43 AM
#1
Thread Starter
Frenzied Member
What was wrond with the one I did for you?
-
Mar 14th, 2000, 05:45 AM
#2
Thread Starter
Frenzied Member
How ironic, I spelt wrong wrong.
-
Mar 14th, 2000, 06:05 AM
#3
Member
Hi Sam, nothing was wrong with it at all.. I'm trying to see if there's come kind of a mapped image control to take the code out of it.
-
Dec 11th, 2000, 03:13 PM
#4
New Member
Did you find your answer?
Did you find a control fitting that description? I am looking for something like that as well. I get the impression that someone did this through code. Any tips (samples) on how this was approached?
-
Dec 11th, 2000, 05:22 PM
#5
Fanatic Member
I think these are the API calls you will need to accomplish this, however it will take a lot of time to define the boundaries of each country.
Code:
Declare Function CreatePolygonRgn Lib "gdi32" Alias "CreatePolygonRgn" (lpPoint As POINTAPI, ByVal nCount As Long, ByVal nPolyFillMode As Long) As Long
Declare Function PtInRegion Lib "gdi32" Alias "PtInRegion" (ByVal hRgn As Long, ByVal x As Long, ByVal y As Long) As Long
Declare Function FillRgn Lib "gdi32" Alias "FillRgn" (ByVal hdc As Long, ByVal hRgn As Long, ByVal hBrush As Long) As Long
{Insert random techno-babble here}
{Insert quote from some long gone mofo here}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|