Solved

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

Posted on 2014-01-17
6
546 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 28

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
How our DevOps Teams Maximize Uptime

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

 

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 28

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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Outlook Free & Paid Tools
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
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:
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.

707 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