Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CPU usage when moving mouse Collapse All
Subject Author Date
Raphael Verdier Jul 6, 2018 - 5:56 AM

In our application we use two UI theme : office2003 and office2010.


if we mouve the mouse with the office 2010’s theme, the CPU usage go to 12%


The CPU usage go to 3% if we do the same thing with office 2003’s theme.


We reproduce this problem, in your sample Prof-uis controls 3300.


after looking on your forum we try this post https://www.prof-uis.com/prof-uis/tech-support/general-forum/how-to-minimize-cpu-usage-55514.aspx#@lt;/p>

but nothing change.


 


How to resolve this problem ?


 


Best regards


 

Prof-UIS Webmaster Jul 13, 2018 - 9:11 AM

Test

Raphael Verdier Jul 6, 2018 - 6:36 AM

Thanks for the information


When the mouse is over a button, the CPU usage go up.


Is it possible to disable on over event for button, edit, combobox,... ?


 


Best regards


 

TSELLC Support Jul 6, 2018 - 6:09 AM

If you have followed the steps from "https://www.prof-uis.com/prof-uis/tech-support/general-forum/how-to-minimize-cpu-usage-55514.aspx#" post and nothing change check http://www.prof-uis.com/prof-uis/version-history/version-3406.aspx:

Improvements
Release 3.4.0.6 includes the following improvements:

Added new flag CExtAnimationParameters::g_bAnEnabled (set to false in your application InitInstance to disable animation) to avoid high CPU usage in some applications;

....................................

Maybe disabling animation will help you. Of course, you must have a valid license to get 3406 sources.

TSELLC_Support

Raphael Verdier Jul 12, 2018 - 2:16 AM

Dear,


We use the analyze tools inside visual studio 2017.


When we move the mouse, we can see that the application used more than 20% of CPU.


The function CExtcontrolbar::onupdatecmdui used 18.85%


 


Does the new version resolve this problem ?


 


Best regards