Dear Marcel,
Your solution looks very interesting to me.
I will give you a try:).
In fact, the major problem is that the user feels the mouse movement is not that smooth due to this heavy calculation. Your solution addresses the problem in the another way.
Thank you
-Daniel
Hello Marcel,
So you think my code works in the way such that it only processed the last message for WM_MOUSEMOVE if more than one exists in the message queue?
Thank you
-Daniel
if (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) // Is There A Message Waiting?
{
if (msg.message==WM_QUIT) // Have We Received A Quit Message?
{
done=TRUE; // If So done=TRUE
}
else // If Not, Deal With Window Messages
{
if...
Hello all,
I need to do an expensive calculation in WM_MOUSEMOVE event.
I would like to know if I could remove extra WM_MOUSEMOVE and only process the most lastest WM_MOUSEMOVE?
Use PeekMessage??
Thank you
Hello all,
I need to insert more than one pictures into one page of MS word 2003 document.
Here is what I did
1> Create a blank Word document
2> Insert a textbox
3> Select the inside of the created textbox and insert a picture
4> Insert->Reference->Caption->Figure
MS Word2003 will addd Figure...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.