Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.08.01;
Скачать: 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 вся ветка

Текущий архив: 2004.08.01;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.046 c
6-1086002939
Alexey
2004-05-31 15:28
2004.08.01
IP


9-1082561392
lub
2004-04-21 19:29
2004.08.01
Пересичение/Обидинение


3-1089352878
Jiny
2004-07-09 10:01
2004.08.01
Как на SQL подрубиться с одной базы в другую


1-1089881653
_none_
2004-07-15 12:54
2004.08.01
удаление объекта из метода (точнее, события) этого объекта


9-1081817479
Voland2000
2004-04-13 04:51
2004.08.01
Phyz-forever