From: Glenn W Munroe [mailto:gwm@...]
Sent: Wednesday, 28 January, 2004 19:47
Subject: RE: [perl-win32-gui-users] Listview Colors and Buttons
To set ListView colours, try, for example:
for red text on a black background.
[mailto:perl-win32-gui-users-admin@...] On Behalf Of
Sent: Tuesday, 27 January, 2004 19:59
Subject: [perl-win32-gui-users] Listview Colors and Buttons Images...
I am still trying everything in the GUI packages and I have some few
questions that I can not find a clue:
1)-When I use image on button, if you disable the button, the button is
completely dark grayed.
Is there a solution to select the grayed color or image:
$SaveAsImage = new GUI::Bitmap('saveas.bmp',0,22, 22);
$SaveAsButton = $MainWindow->AddButton(
-text => "Save As",
-name => "SaveAsButton",
-left => 510,
-top => 440,
-width => 22,
-height => 22,
-foreground => 0,
-tabstop => 1,
2)-Is there a way to switch between colors in the Listview, i.e.
each row with different color
I can not even change the Listview foreground and background colors:
$Listview = $MainWindow->AddListView(
-text => "",
-name => "Listview",
-left => 408,
-top => 372,
-width => 252,
-height => 128,
-addstyle => WS_CHILD | WS_VSCROLL|WS_HSCROLL| 1,
#-gridlines => 1,
-checkboxes => 1, # see ItemCheck(INDEX)
#-hottrack => 1,
-tabstop => 1,
-background => $BGColor,
-foreground => $ForColor,
$ListviewC1 = $Listview->InsertColumn(
-index => 0,
-text => "First Name",
3)- Progressbar: How to change the colors or Not.
4)- The status bar, you can not control its size or location, looks
5)- If I use the AddGroupBox to pack a group of controls, works very
except it disables the functions on the kids like the colors and Tabs.
6)-The Textfield in Multiline mode, does not accept Enter when it is
by AddGroupBox, it only accepts Ctrl+Tab, any work around for this.
It would be very nice if anyone how has a good experiance and built a
using this GUI if he post a some code to help others understand the
instead of everyone new is just trying and guessing.