Change font in Win32::GUI AddListView items

Ken Cornetet <[email protected]> Fri, 14 Oct 2011 17:03:01 -0400
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <DF6A68E27C9C734592018E2317E95836070A52045B@nts532.kii.kimball.com>
Is it possible to change the font (bold, color,etc) when adding items to a Win32::GUI AddListView object?

I've tried passing a font object to no avail

my $fb = new Win32::GUI::Font(-name => "Courier New", -height => 10, -bold => 0);
$lv->InsertItem(-font => $fb, -item => $i, -text => ["  $s", "", "", "", "", "", ""]);

There are the TextColor and TextBKColor methods, but they appear to be global to the whole ListView object.

Ken Cornetet 812.482.8499
To err is human - to moo, bovine.

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs