Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Block sending of mouse messages

Status
Not open for further replies.

bobbie100

Programmer
Aug 29, 2003
64
GB
I am currently using the TTimer to trigger the display of a card as it moves within a game. This seems to work OK except that when I move the mouse fast over the window the process grinds to a halt. I tried blocking the various mouse messages when they are received at both application and component (WndProc) level. This partially solves the problem, but there is still a degradation in the display. Looking at the event log and monitoring the messages when they are received indicates most of the messages are generated from the application.
Seems to me it would be better to block the messages from being sent, that way I wouldn't have the overhead of trapping them as I receive them. I can't find anything about how to do this. Can anyone help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top