• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

Why do XP Themes slow down Canvas.LineTo-type operations in Delphi 7?

When we use the code below, our application that does Canvas.LineTo-type of calls gets *very* slow refreshing the screen.

Anyone have any suggestions on how to speed it up?

Tom

In the main form's interface uses clause added :
   Uses XPMan;

In the main form class private section added:
    XPManifest : TXPManifest;

In the main form FormCreate method added:
   XPManifest := TXPManifest.Create(Self);
0
tfield98
Asked:
tfield98
1 Solution
 
BlackTigerXCommented:
I don't know about the slowness caused by the XP Themes... but you don't need to create the XPManifest component dinamically... all you need to do is have the XPMan in your uses clause, that's all the XPManifest component does, if you look at the code... there's pretty much no code, just an include file, which is the actual manifest
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now