Arh. I understand now. I use a psudo toolbar - basically a row of buttons with new/cut/copy/save bitmaps (much like Loft). When the bitmap has 16 colours and the button is disabled, the bitmap is "shadowed correctly" (not sure if this is correct terminology!) - but when I use a bitmap with more colours, the bitmap becomes solid grey (when disabled). I have never found a work around.
 
The ideal solution would be to use a toolbar with imagelist/hot tracking functionality working...
 
jez.
 
----- Original Message -----
From: Frazier, Joe Jr
To: Jez White ; ramy@mehtag.com ; perl-win32-gui-users@lists.sourceforge.net
Sent: Wednesday, January 28, 2004 12:44 PM
Subject: RE: [perl-win32-gui-users] Listview Colors and Buttons Images...

1) I think what is is saying is that when a button is disabled, the corresponding image is no longer shown and the clientarea that the image was in becomes dark gray.   I think he wants something like many menu's in many Windows applications (such as Outlook 2000) where the paste "icon" is disabled and the image is grayed out until there is something on the clipboard, but the image outline is fully viewable.   My assumption is that there is a separate copy of the image(clipboard.bmp and clipboarddisabled.bmp for example)  which is switched out during the disable event for the menu item and then back when the menuitem is enabled. 
 
I have no clue how to make this work with a menu, nor do I have time to test right this minute.  I would have even less idea about making it work right for buttons.
 
2) ditto.  Look at the grid control, it is very cool.
 
Joe Frazier, Jr.
Technical Support Engineer
Peopleclick Service Support

Tel:  +1-800-841-2365
E-Mail: mailto:support@peopleclick.com
-----Original Message-----
From: Jez White [mailto:jez@jezwhite.eclipse.co.uk]
Sent: Wednesday, January 28, 2004 4:21 AM
To: ramy@mehtag.com; perl-win32-gui-users@lists.sourceforge.net
Subject: Re: [perl-win32-gui-users] Listview Colors and Buttons Images...

Hi,
 
In my view, Win32::GUI is very capable - much more capable than first impressions. It can be used to build large applications. There are a few issues with some of the controls missing basic functionality, but this is changing all the time. The major problem - in my view - is with documentation and examples - but hopefully this is being addressed to.
 
As for your points (for what it's worth!):
 
1) Not sure what you mean by selecting the greyed color image?
 
2) Not sure if you can change colors in a listview - however, look at the grid control:
http://perso.club-internet.fr/rocherl/Win32GUI.html#Grid
 
3) You can change the colors in the progress bar - make sure you have the latest version of Win32::GUI
http://perso.club-internet.fr/rocherl/Win32-GUI-Dev/index.html
 
4) The status bar - you can control the size, just like any other control (Height, Width methods when the window resizes). If you have the latest version, you can split the status bar into parts, set icons and text to each part etc.
 
5) Dunno:)
 
6) Dunno:)
 
Cheers,
 
jez.
 
----- Original Message -----
From: ramy@mehtag.com
To: perl-win32-gui-users@lists.sourceforge.net
Sent: Tuesday, January 27, 2004 10:58 PM
Subject: [perl-win32-gui-users] Listview Colors and Buttons Images...

Hi All,

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,
  -visible=> 0,
  -tabstop    => 1,
  -tip=>"Save As",
  -bitmap=>$SaveAsImage,
      );

2)-Is  there a way to switch between colors in the Listview, i.e. display
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,
  -visible=> 0,
  -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,
    -width =>245,
    -text  => "First Name",
 -visible=> 0,
);

3)- Progressbar: How to change the colors or Not.

4)- The status bar, you can not control its size or location, looks normal!.

5)- If I use the AddGroupBox to pack a group of controls, works very fine
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
grouped
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 larg
projects
using this GUI if he post a some code to help others understand the clues of
the functions
instead of everyone new is just trying and guessing.

Thanks all
Ramy