15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Owner drawn CListCtrl

Amir Shoval -- amirs@ncc.co.il
Sunday, January 05, 1997

Environment: Win 95, VC++ 4.2b

Hello,

CListCtrl::DrawItem is called only when the list control is in 
LVS_REPORT style. Does anyone knows of a way I can draw myself the
control item's icons when the control is in the other styles ?

thanks and happy new year,

	Amir


-----------------------------------------------
Amir Shoval          N.C.C. Israel
amirs@ncc.co.il
-----------------------------------------------



Prismantis -- prismantis@mega.co.za
Monday, January 06, 1997

Hi,

Don't know if this will help, but check out Paul Gerhart's page at

http://www.voicenet.com/~pgerhart

There's some free software, one of which is GridList,an Owner-draw 
CListCtrl Example and has MFC source.

Regards,

Paul

> Environment: Win 95, VC++ 4.2b
> 
> Hello,
> 
> CListCtrl::DrawItem is called only when the list control is in 
> LVS_REPORT style. Does anyone knows of a way I can draw myself the
> control item's icons when the control is in the other styles ?
> 
> thanks and happy new year,
> 
> 	Amir
> 
> 
> -----------------------------------------------
> Amir Shoval          N.C.C. Israel
> amirs@ncc.co.il
> -----------------------------------------------
> 
> 
==================================================
Homepage: http://www.megaweb.co.za/prismantis
==================================================




| Вернуться в корень Архива |