Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image Control and GDI+
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00808060
Message ID:
00808298
Views:
11
Paul,

You are right. I was locked on this code fragment:
	AND BETWEEN(pnX, oCtrl.Left, oCtrl.Left + oCtrl.Width) ;
	AND BETWEEN(pnY, oCtrl.Top, oCtrl.Top + oCtrl.Height)
which is just checking the rectangular area bounded by each image object, but it does end up checking every possible image. It's not lear from the code fragment what oImage and oControl are references to.

>That was my initial thought too, until I reread his message. He has overlapping shapes that have transparent sections. If you happen to click on a transparent part of a shape (thinking you're clicking on the shape below it, for example), the wrong shape would broadcast it's message.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform