Главная страница
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.056 c
2-1163680864
MishaLukash
2006-11-16 15:41
2006.12.03
в операции должен использоваться обновляемый запрос?


15-1163145469
Konst5719
2006-11-10 10:57
2006.12.03
Можно ли встроить в форму ехе-файл?


2-1163583549
Gex88
2006-11-15 12:39
2006.12.03
Найти текст и заменить его


15-1163203226
Германн
2006-11-11 03:00
2006.12.03
Общество защиты от животных


2-1163601511
term1t
2006-11-15 17:38
2006.12.03
FastReport