|
-
Nov 23rd, 2008, 10:25 AM
#1
Thread Starter
New Member
Creating transparent user control with mouse events
Hi,
I've been struggling with this one for a while. I would like to create a usercontrol (activex/ocx) that is transparent but still registers the mousemove event in the transparent regions of the control.
If you create a control and set backstyle to transparent then the mouse events do not fire in the transparent areas of the control.
I have tried using windows api calls to set the control to be transparent (using SetLayeredWindowAttributes) but that doesn't seem to work on a user control...
I need this control so that I can add a transparent control to the application but still track the mousemove and click events.
Any help would be appreciated
Lee
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
|