For Programmers: Free Programming Magazines  


Home > Archive > VC Language > November 2005 > krusader-like listbox









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author krusader-like listbox
cpp

2005-11-29, 7:06 pm

How can I make a listbox like the one in kruer ? (listbox rows of
different colors)
[url]http://www.kruer.org/screenshotsfs.php?ordering=2&limit=0&max=3&page=1[/url]

I managed to paint the hole listbox during WM_CTLCOLORLISTBOX but I have no
idea how to paint individual rows ..

many thanks


Nishant Sivakumar

2005-11-29, 7:06 pm

That's a Listview control (not a List box). And you can use custom draw to
do what you want.

See http://www.codeproject.com/listctrl/lvcustomdraw.asp

--
Regards,
Nish [VC++ MVP]


"cpp" <VOID> wrote in message news:uqNw6ET9FHA.132@TK2MSFTNGP15.phx.gbl...
> How can I make a listbox like the one in kruer ? (listbox rows of
> different colors)
> [url]http://www.kruer.org/screenshotsfs.php?ordering=2&limit=0&max=3&page=1[/url]
>
> I managed to paint the hole listbox during WM_CTLCOLORLISTBOX but I have
> no idea how to paint individual rows ..
>
> many thanks
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com