delphi - Does "enable runtime themes" affect performance? -


i've changed "enable runtime themes" value in project options , i'm wondering if it's value affects application's performances and, in case, in manner? hope can clarify me point. enter image description here

what "enable runtime themes" telling windows enable visual styling of applications via following manifest entry

    <dependentassembly>         <assemblyidentity             type="win32"             name="microsoft.windows.common-controls"             version="6.0.0.0"             processorarchitecture="*"             publickeytoken="6595b64144ccf1df"             language="*"         />     </dependentassembly> 

you have runtime themes enabled in older delphi versions using different methods. delphi 7 included txpmanifest component had same effect "enable runtime theme".

enabling runtime themes has impact on gui part of application. painting flat win 95 style button should more performant painting gradient styled rounded win xp/vista/win7 button, noted @davidheffernan , @tlama may not so. 1 of problems here measuring actual performance, since can depend on many factors. if actual performance profiling results can highly skewed. real question here should difference in gui performance between non-themed , themed application (no matter 1 turns out faster) of concern you.

answer part no. first, performance impacts may have strictly gui related. second, static windows application gui far less demanding 3d game our computers capable run. , since visual styling has been introduced windows xp , computers did not have performance problems in handling styles (it used on system) dwelling runtime themes performance in today's apps running on modern hardware waste of time.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -