Solved

How to implement the "Mouseover" function in a Dialog base software?

Posted on 2002-04-08
6
278 Views
Last Modified: 2013-11-20
i need to implement the "mouseover" function in my dialog base software (i.e a small rectangle box will popup and display a short message when you leave the mouse cursor over a button/textbox/whatever)

I wonder if there is any easy way to do that? i've tried search the MSDN document but was confused and can't get it work... so anyone can show me how to do that??
0
Comment
Question by:rw8
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:kamarey
ID: 6929333
What problem with WM_MOUSEOVER?
0
 

Author Comment

by:rw8
ID: 6929652
WM_MOUSEOVER? i can't find this from MSDN?
i can only find WM_MOUSEMOVE,WM_MOUSEWHEEL....etc
0
 
LVL 1

Expert Comment

by:Pavlik
ID: 6934766
probably kamarey meant WM_MOUSEHOVER
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:rw8
ID: 6935391
ok yes that seems like something i needed but how can i actually  implement the mouseover funciton? i.e. pops up a small rectangle that displays some short notes/descriptions...?
is there any example somewhere that i can look at??
0
 
LVL 1

Accepted Solution

by:
Pavlik earned 100 total points
ID: 6935457
I'm not familiar with it at all. But try to use ToolTip control associated with rectangular area of the window. And read about TTF_SUBCLASS flag. It will help you to have tooltips for free (i mean without processing mouse events).
Search for "ToolTip controls" in MSDN. They have couple of interesting examples in the "Using ToolTip Controls" section.

Best regards,
Pavlik.
0
 

Author Comment

by:rw8
ID: 6940761
Excellent! Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Named range not carried over 10 66
substring method in java 1 135
Dell Alienware Graphics Amplifier Driver for non-Alienware systems 18 453
Annoying "thing" blocks my view 4 130
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

680 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