Visual Basic 6 doubts

Status
Not open for further replies.

deepak.krishnan

In the zone
Hello friends
I have a doubt in Visual Basic.
I inserted a image box (not picture box) into my project and am using it as a command button by coding in its cick event. I want the picture in the image box to change when the user keeps the mouse's cursor above it. How can I do it?
 
OP
deepak.krishnan

deepak.krishnan

In the zone
gaurav_indian said:
You have to write the coding in the "mouse over" event of the image.

I tried it. But image box does not have a mouseover event enlisted in the actions. It just contains mouseicon and mousepionter.

amitgg said:
You will have to use setmousecapture api.

I did not understand. Can you please enlighten me?
 
Last edited:
Status
Not open for further replies.
Top Bottom