Вниз
Скачать: 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.45 MB
Время: 0.02 c
1-1090395146
kingdom
2004-07-21 11:32
2004.08.01
История DirectX


1-1089956774
Valeri
2004-07-16 09:46
2004.08.01
Не запускается программа...


14-1089887417
vecna
2004-07-15 14:30
2004.08.01
Расшифровка протеста


1-1089965183
han
2004-07-16 12:06
2004.08.01
почуему в try...finally всегда срабатывает


3-1089027525
jenya_d
2004-07-05 15:38
2004.08.01
Утилиты администрирования MS SQL 2000




   Наверх