Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Passing cursor 'over' control - notify?

Posted on 1998-05-10
3
Medium Priority
?
225 Views
Last Modified: 2013-11-20
How can I catch cursor  passing 'over' a pushbutton and how can I determine cursor leaving the control? I guess, I should use WM_NOTIFY but how?
0
Comment
Question by:V245
[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
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
RONSLOW earned 300 total points
ID: 1309054
Set BS_NOTIFY style and then respond to OnMouseMove

I have code that does this for changing cursor shape and for giving the flat look of an IE-style toolbar button (where borders appear as mouse moves over.

0
 
LVL 1

Author Comment

by:V245
ID: 1309055
I don't quite understand why BS_NOTIFY is necessary, nevertheless I wanted to get a general idea only and I've got it. Thanks for help!
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1309056
BS_NOTIFY lets the control respond to focus change and mouse move messages etc (I think).  Otherwise, you don't get to see them

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

721 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