Вниз
Скачать: CL | DM;

Манифест XP   Найти похожие ветки 

← →
НовиЧок ©   (2004-07-20 05:53) [0]

Уважаемые мастера!

Помогите избавиться от возникновения ошибки при использовании ListView в стиле vsReport, когда подключен манифест. Я пробовал править ComCtrls.pas, но всё бес толку.


← →
SelloutS   (2004-07-20 06:30) [1]

ещё раз повторяю =)))))

> When you give a Delphi application the Windows XP look using the WindowsXP
> manifest XML file, whenever a TListView with columns is displayed the
> application generates an access violation error.
>
> How can I fix this?

You need to modify a few lines in comctrls.pas and save it to another
directory.  Put this directory in you search path before the VCL directory.

(Переместить файл comctrls.pas в другое место и поменять в нём строчки)

Change

     if FImageIndex <> -1 then
       fmt := fmt or LVCFMT_IMAGE or LVCFMT_COL_HAS_IMAGES;

To

     if FImageIndex <> -1 then
       fmt := fmt or LVCFMT_IMAGE or LVCFMT_COL_HAS_IMAGES
     else
       mask := mask and not (LVCF_IMAGE);


← →
SelloutS   (2004-07-20 06:32) [2]

>Я пробовал править ComCtrls.pas, но всё бес толку.

вчитайся в строки: "You need to modify a few lines in comctrls.pas and save it to another
directory.  Put this directory in you search path before the VCL directory."



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.034 c
14-1089771722
Думкин
2004-07-14 06:22
2004.08.01
С днем рождения! 14 июля


8-1084885435
Iraizor
2004-05-18 17:03
2004.08.01
ошибка после завершения приложения работающего с канвой


14-1090160087
4ainik
2004-07-18 18:14
2004.08.01
dcu


14-1090117107
Думкин
2004-07-18 06:18
2004.08.01
С днем рождения! 18 июля


14-1089646989
Sheng
2004-07-12 19:43
2004.08.01
Извините за дибильный вопрос, но




   Наверх