1. rebar
- Posted by =?iso-8859-2?B?qWtvZGE=?= <tone.skoda at SIOL.NET> Aug 07, 2000
- 563 views
------=_NextPart_000_003C_01C000A9.76C88660 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable can you do an example the rebar buttons to be changed when mouse is = over? ------=_NextPart_000_003C_01C000A9.76C88660 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DVerdana size=3D2>can you do an example the rebar=20 buttons to be changed when mouse is = ------=_NextPart_000_003C_01C000A9.76C88660--
2. Re: rebar
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Aug 07, 2000
- 554 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? Or maybe the mouse cursor? If you've been able to do this to a control not on a rebar, you should be able to use the same code. The control itself (push button, edit, combo box, etc.) should function no differently when on a rebar or off. The only difference is who it's parent is, and it's location relative to the main window (parent of the rebar), since the position can change, so you'd need to check it dynamically, rather than using the coords used during creation. Matt Lewis -----Original Message----- From: ©koda can you do an example the rebar buttons to be changed when mouse is over?
3. Re: rebar
- Posted by =?iso-8859-2?B?qWtvZGE=?= <tone.skoda at SIOL.NET> Aug 08, 2000
- 547 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.
4. Re: rebar
- Posted by Lee West <leewest at ALTAVISTA.COM> Aug 08, 2000
- 537 views
Hi Matt, I think he means gray images that change color when the mouse passes over them. Which raises another point... how about "flat" buttons themselves (like IE)? Are they available or are you planning to implement them soon? Lee. On Tue, 8 Aug 2000 13:06:31 +0200, =?iso-8859-2?B?qWtvZGE=?= <tone.skoda at SIOL.NET> wrote: >>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.
5. Re: rebar
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Aug 08, 2000
- 533 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
6. Re: rebar
- Posted by Lee West <leewest at ALTAVISTA.COM> Aug 08, 2000
- 507 views
Hi Matt, I think I'd better defer to you on this one. Thanks for looking into it... Lee. Matthew Lewis wrote: > >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... >