Solved

VB6 : Need to make mousepointer change to hand when hover on combo box

Posted on 2014-01-17
6
539 Views
Last Modified: 2014-01-18
I need to make mousepointer change to hand when hover on combo box.

I could do this for command buttons since they have mouse move event

But the problem is, combo box does not support mouse move event.

Any ideas?
0
Comment
Question by:rohaya
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:ktaczala
ID: 39790296
you can read some workarounds here.
http://www.vbforums.com/showthread.php?500021-Mouse-Over-Event-on-a-Combobox

I don't have VB6  although everyone says not available.
0
 

Author Comment

by:rohaya
ID: 39790637
Listbox is not an option. How about mouse move event which detects a location or something like that. I think I have have seen somewhere about it
0
 
LVL 27

Accepted Solution

by:
Ark earned 500 total points
ID: 39791734
Why do you need MouseMove event?
    Combo1.MousePointer = vbCustom
    Combo1.MouseIcon = LoadPicture("e:\MyProg\VB6\Cursors\hand.cur")

Open in new window


PS. As for tracking mouse/keyboard events systemwide - see my sample at http://www.freevbcode.com/ShowCode.asp?ID=1610
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:rohaya
ID: 39791738
I knew there would be genius out here which would give incredible suggestions.

Fantastic ! Thank you
0
 

Author Closing Comment

by:rohaya
ID: 39791739
Fantastic ! Thank you
0
 
LVL 27

Expert Comment

by:Ark
ID: 39791780
Glad I could help.
BTW, you can set MousePointer/MouseIcon properties in design mode as well
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question