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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image control... real easy question 1

Status
Not open for further replies.

NJCam

Programmer
Sep 10, 2001
12
0
0
US
This question is so easy, I'm almost embarrased to post it. But being **very** new to VB, I don't have much choice.

Anyways, here's what I'm trying to do. I have an image control and an imagelist control. When the mouse moves over the image, I want to show index 2 (from the imagelist). When the mouse is not over the image, I want to show index 1.

I can use the mousemove procedure to show index 2 when the mouse is over the image... but how do I know the mouse is not over the image control, and "revert" the image back to index 1.

Thanks in advance,
- Cam
 
Talk about a quick response... thanks!!

I was so bent on thinking that there must be a complete opposite procedure for mousemove on the image... that it never occurred to me that I should change the image when the mouse is over THE FORM.

I hate it when I have these little brain farts... >:<

Anyways, thanks again!

- Cam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top