Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need a control with the following properties...

Status
Not open for further replies.

JNeave

Programmer
Jan 28, 2002
125
GB
Hi,

Following on from the MouseEnter event problem.

I now need a suitable target for the events, because I'm trying to do drag-scrolling.

Meaning:

I have a form with a control array of picture boxes, each picture box contains it's "Film" (more picture boxes containing graphics). You can move pictures between Films using Drag & Drop. That works. Unfortunately, if there is more films that can fit on the screen, then you cannot drag between an on and an off screen film.

So I'm going to try to use the psuedo mouseEnter/leave API events strongm suggested. But I need a control with suitable properties to be the scroll-begin target.

It needs to

be Transparent (Not Visible=False)
Support the mousemove event
have the .hWnd property (label and Image control are out)

It can then flick a timer on/off using it's mouseenter/leave events and the timer can change the existing scroll bar control's Value property.

But I don't know what control to use.
Can picture boxes be made transparent?

Cheers,

Jim.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top