Re: rebar
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Aug 08, 2000
- 457 views
> > >Probably. Could you be a bit more specific? I'm guessing > >you're looking > to > >change a picture or the text on the button? > > Yes, like in Internet Explorer. This is possible, but it requires a different implementation of toolbars than currently exists in win32lib. Basically, this is done with a few image lists. One is to display for normal buttons, one for buttons when they become the 'hot' item, and another for disabled buttons. In order to implement this with win32lib, you'd need to add some messages (like TB_ADDBUTTON) and the structures, etc that the messages use. CreateEx would need to be changed to handle adding buttons. Actually, it would probably make sense to define a new win32lib class. Unless you want to work on this, I'll take a further look, and see what I can do... Matt