Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2002-04-08
6
Medium Priority
?
288 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
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!

 

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 400 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
Loops Section Overview

782 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