How to let my component accept WM_MOUSEMOVE?

How to let my component accept WM_MOUSEMOVE message in design mode?
eYesAsked:
Who is Participating?
 
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.

All Courses

From novice to tech pro — start learning today.