Вниз
Скачать: 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.024 c
9-1082207751
AlexNx
2004-04-17 17:15
2004.08.01
Алгоритм попадания точки


4-1087458441
WwW
2004-06-17 11:47
2004.08.01
Мастера есть функция котораея определяет Handle активного окна


3-1089200786
stud
2004-07-07 15:46
2004.08.01
программное добавление юзеров и прав


4-1087542911
alexdbases
2004-06-18 11:15
2004.08.01
Появление нового процесса в системе.


14-1089968289
syte_ser78
2004-07-16 12:58
2004.08.01
покупать или нет?




   Наверх