Solved

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

Posted on 2004-09-03
1
211 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 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

932 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now