1. changing font/color for listview item
- Posted by Rubens <rml at rubis.trix.net> Jul 06, 2005
- 618 views
Hi people! Could anyone help me with this ? How can I change the color/font of a specific listview item ? Thanks Rubens
2. Re: changing font/color for listview item
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 06, 2005
- 621 views
- Last edited Jul 07, 2005
Rubens wrote: > > Hi people! > > Could anyone help me with this ? > > How can I change the color/font of a > specific listview item ? This is not an easy thing to do. You need to create the ListView as an OwnerDrawn control and then intercept the special event messages so you can have total control over how the listview is rendered. You can get all the details from the MSDN web site or Windows API documentation. Try ... http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/listview/reflist.asp?frame=true for a starting point. -- Derek Parnell Melbourne, Australia irc://irc.sorcery.net:9000/euphoria
3. Re: changing font/color for listview item
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 06, 2005
- 595 views
- Last edited Jul 07, 2005
Another useful URL is http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/common/refs.asp where you can find more details about "Custom Drawn" controls. -- Derek Parnell Melbourne, Australia irc://irc.sorcery.net:9000/euphoria
4. Re: changing font/color for listview item
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Jul 13, 2005
- 592 views
Rubens wrote: > > Hi people! > > Could anyone help me with this ? > > How can I change the color/font of a > specific listview item ? Raymond Chen just covered [basically] this in his blog today: http://blogs.msdn.com/oldnewthing/archive/2005/07/13/438381.aspx The code example is C++, but it should give you an idea of what you need to do in Euphoria. Matt Lewis