Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2004-09-03
1
Medium Priority
?
238 Views
Last Modified: 2010-02-22
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
Comment
Question by:tfield98
1 Comment
 
LVL 13

Accepted Solution

by:
BlackTigerX earned 750 total points
ID: 11976199
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This is an update to some code that someone else posted on Experts Exchange. It is an alternate approach, I think a little easier to use, & makes sure that things like the Task Bar will update.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question