RE: [perl-win32-gui-users] DC used for customdrawn Toolbar

2005-08-09 Thread Jeremy White
I've tucked this code away to add to Coolbar.pm when I next get back to it. For both of your examples I was getting an error on exit - invalid methods on global destruction. Both were failing in onDeactivate event - to get round it I had to add the following: return unless $_[0]; to the

RE: [perl-win32-gui-users] DC used for customdrawn Toolbar

2005-08-08 Thread Jeremy White
Hi, I'm trying to change the TextColor of a Coolmenu on _Deactivate and _Activate of the parent-window to emulate the original IE behaviour. Just so I understand what you are trying to do. Do you mean the change in the menu colour (to blue) when the mouse moves over the menu buttons in IE?

RE: [perl-win32-gui-users] DC used for customdrawn Toolbar

2005-08-08 Thread Kind, Uwe
Hi jez, Just so I understand what you are trying to do. Do you mean the change in the menu colour (to blue) when the mouse moves over the menu buttons in IE? I want to 'grey out' the text when $mw loses the focus. The structures used by a toolbar and header are different - see:

RE: [perl-win32-gui-users] DC used for customdrawn Toolbar

2005-08-08 Thread Robert May
Kind, Uwe wrote: Just so I understand what you are trying to do. Do you mean the change in the menu colour (to blue) when the mouse moves over the menu buttons I want to 'grey out' the text when $mw loses the focus. The structures used by a toolbar and header are different This appears to