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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 370
  • 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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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