Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

How to let my component accept WM_MOUSEMOVE?

How to let my component accept WM_MOUSEMOVE message in design mode?
0
eYes
Asked:
eYes
  • 2
1 Solution
 
LischkeCommented:
YOu need to capture the CMDesignHitTest message and return 1 if you want design mouse messages:

procedure CMDesignHitTest(var Message: TCMDesignHitTest); message CM_DESIGNHITTEST;

  :
begin
  Message.Result := 1;
end;

Ciao, Mike
0
 
bryan7Commented:
listenning
0
 
rwilson032697Commented:
Listening
0
 
LischkeCommented:
eYes, just out of curiosity: What do you consider as being worth an A grading?

Ciao, Mike
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now