Hi Bob,
Thanks for your post.
Based on my understanding, you created a customized TabControl, which may
cause many unexpected MouseMove events without mouse moving.
It seems that WM_MOUSEMOVE messages is sent/posted to the application
unexpectedly and continuously. I suggest you use SPY++ to monitor the
TabControl's WM_MOUSEMOVE message to verify this. You can also view the
"Message Code" column of the WM_MOUSEMOVE messages to confirm if it is
marked with "S" or "P". The "S" standards for sent message, while "P"
standards for posted message.
However, based on the call stack you provided, it should be a correctly
hardware generated WM_MOUSEMOVE messages, there is nothing special point.
Have you tried your problem project on other machiens? Does this problem
exist on every machine? If so, I suggest you create a sample problem
project, then attach it in a further reply. With the reproduce sample, we
can understand your problem better and give some useful suggestion. Thanks
============================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Bob Dankert - 01 Aug 2005 14:19 GMT
Thanks for the reply Jeffrey, sorry for the late response (I was on a short
vacation).
I have tried this on other machines and the issue is reproducible. The
trouble is reproducing this issue in other projects. The tabcontrol exists
in a DLL file and is used by several programs I have created. So far, the
issue is present in 2 programs (the issue exists for every single tabcontrol
in the program) and the other 5 programs do not exhibit the behavior
what-so-ever. This has made it difficult to reproduce the issue as I can
not pinpoint what is different between the two solutions. They are all
using visual styles (I tried using both manifest file and
Application.EnableVisualStyles), and it makes no difference if visual styles
are turned off. The form's which use the tabcontrol can have the code
copied from one project to another and exhibit the problem behavior only in
one project (but the problem is consistent on every machine). This makes it
seem as though it is related to something with the entire project, but I am
running out of ideas.
Thanks,
Bob
> Hi Bob,
>
[quoted text clipped - 27 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
"Jeffrey Tan[MSFT]" - 02 Aug 2005 07:33 GMT
Hi Bob,
Thanks for your feedback.
For your last statement, "The form's which use the tabcontrol can have the
code copied from one project to another and exhibit the problem behavior
only in
one project (but the problem is consistent on every machine). This makes
it seem as though it is related to something with the entire project", it
seems that this problem is project specific, after copying the code to the
new project, this problem goes away. Yes?
If I did not misunderstand you, it seems that your problem should go away
in the new project. If so, can you work with the new project? Do you still
have any concern?
==============================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Bob Dankert - 05 Aug 2005 14:14 GMT
Unfortunately, I was not able to get rid of it by playing with components of
the project. To get around this, I check all of the event arguments and
cancel the event if nothing has changed. It still eats some CPU cycles
since it is calling the event each time, but at least it is not nearly as
bad as previously.
Bob
> Hi Bob,
>
[quoted text clipped - 21 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
"Jeffrey Tan[MSFT]" - 08 Aug 2005 03:15 GMT
Hi Bob,
Thanks for your feedback.
It seems that you can not live with the new copied project, yes? You still
want to get rid of problem in the original project.
Looking at the nature of this issue, it would require intensive
troubleshooting which would be done quickly and effectively with direct
assistance from a Microsoft Support Professional through Microsoft Product
Support Services. Then there will be a Microsoft support engineer work with
your project one by one.
You can contact Microsoft Product Support directly to discuss additional
support options you may have available, by contacting us at 1-(800)936-5800
or by choosing one of the options listed at
http://www.microsoft.com/services/microsoftservices/srv_support.mspx
Hope this helps
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.