Solved

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

Posted on 2014-01-17
6
534 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Outlook Free & Paid Tools
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now