|
-
May 20th, 2001, 08:03 PM
#1
Thread Starter
Lively Member
Brain Bender
Now here's one for you. Two, actually.
One: Is there anything more accurate than Point? This has a bit to do with my second question. When I use point on a picturebox it doesn't differentiate between RGB (10,0,0) and (11,0,0). In fact, it doesn't differentiate between quite a bit more than that, but you get the idea. I don't really want to use DirectDraw surfaces and the GetPixel command, but perhaps something in the API will do?
Two: I have 91 hexagons arranged in a honeycomb pattern. How in the name of Hades can I determine which one the user clicks on? If they were rectangles it would be easy, but they're interlocked hexagons. This has been driving me up the wall for about a month. My original plan was to use a 256 color imagemap and let the colors tell me which hex the user clicked (Point MouseX, MouseY) but... Well, read question number one.
~Zero the Inestimable
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
|