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
Solved

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

Posted on 2014-01-17
6
541 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 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

789 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