Hi Jonathan:
I find that win32 grid is more powerful and easier to use -- you can use it like
ListView and have for example, each row to alternate colors.
Example code would look something like this:
for my $row (0..$Grid->GetRows()) {
for my $col (0..$Grid->GetColumns()) {
if($row % 2){ $Grid->SetCellBkColor ($row, $col, [['color']); }
else { $Grid->SetCellBkColor ($row, $col,['color'] ); }
}
al
--- Jonathan Southwick <[EMAIL PROTECTED]> wrote:
>
> Awhile back someone was asking about changing the color of individual items
> in a ListView control. It can be done if someone knows if there is a way
> to set the properties of the items.
>
> What needs to be done is set the item's UseItemStyleForSubItems property to
> false but am not sure if it can be done using the Win32::GUI module.
>
> Is it possible? If so, how?
>
> An example where this is used is in Windows 2000 (and maybe XP) when you
> have Show All Files enabled and none of the system folders are hidden. The
> protected system folders are in blue but the rest of the list is black.
>
> Anyway I have a need for this now and was wondering if anyone knows if the
> properties thing can be done.
>
>
> Jonathan
> ========================
> Jonathan Southwick
> [EMAIL PROTECTED]
> Technical & Network Services
> Allegheny College
> Meadville, PA 16335
> (814) 332-2755
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
=====
**************************
***** END OF MESSAGE *****
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools