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:
> 
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/commctls/custdraw/custdraw.asp
> 
> This may, or may not be causing your problem. I assume that you are using 
> the coolbar module by Rob May (http://www.robmay.me.uk/win32gui/)? It also

> exhibits the same issue that I think you are trying to solve. It might be 
> worth pooling efforts to get this issue 'fixed' - off the top of my head, 
> perhaps the easiest solution would be to add an CustomDraw event handler
in 
> ToolBar.xs which would pass the correct parameters (DC and draw codes) to 
> the Perl handler.

I read this article. The relevant bytes of the structures being used should
be identical.
Ok, I'll try to patch the ToolBar.xs, but nevertheless I'd really like to
know what's the error in the provided example.

Regards
Uwe

Reply via email to