Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.12.03;
Скачать: CL | DM;

Вниз

TListView. Columns не меняет ширину при изменении текста   Найти похожие ветки 

 
MishaL   (2006-10-25 22:18) [0]

TListView. Columns  AutoSize=True не меняет ширину в соответствии с отражаемым текстом
MaxWidth=1000 MinWidth=100
что надо настроить?
заранее спасибо


 
Palladin ©   (2006-10-26 06:49) [1]

ничего, обрабатывать изменение текста и выставлять ширину колонки нужно в ручную


 
MetalFan ©   (2006-10-26 09:16) [2]

CommCtrl
The ListView_SetColumnWidth macro changes the width of a column in report or list view. You can use this macro or explicitly send the LVM_SETCOLUMNWIDTH message.

BOOL ListView_SetColumnWidth(

   HWND hwnd,  
   int iCol,  
   int cx
  );


Parameters

hwnd

Handle to the list view control.

iCol

Index of the column. In list view, the iCol parameter must be -1.

cx

New width of the column, in list view coordinates, or one of the following values:

Value Meaning
LVSCW_AUTOSIZE Automatically sizes the column.
LVSCW_AUTOSIZE_USEHEADER Automatically sizes the column to fit the header text.


может поможет?



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

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

Наверх




Память: 0.47 MB
Время: 0.032 c
15-1163512415
Александр Иванов
2006-11-14 16:53
2006.12.03
По XPath кто-нибудь подскажет?


15-1163342606
Legolas
2006-11-12 17:43
2006.12.03
А в Delphi 7 можно сделать так, чтоб мышь сама бегала и т д?


2-1163846665
Youngkoder
2006-11-18 13:44
2006.12.03
TStrings


9-1139396310
cava
2006-02-08 13:58
2006.12.03
delphix


2-1163869543
Berx
2006-11-18 20:05
2006.12.03
Delphi и заголовочне фалы *.h