FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour This is possible?
Posts: 114
Joined: Fri Jul 21, 2006 07:15 PM
This is possible?
Posted: Wed Aug 01, 2007 11:33 PM

Change bitmap when mouse cursor is over button in class ttoobar ?

Regards

Eroni

FWH / xHarbour / BCC / MySql

Visual Studio / Harbour / DotNet Maui / C#
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
This is possible?
Posted: Thu Aug 02, 2007 11:21 AM
Eroni,

You need to modify the Class TToolBar in order to do it:
   ...
   do case

      case nCode == TTN_GETDISPINFO

                ::ChangeBitmap( <nButton>, <nImage> )
                ...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 114
Joined: Fri Jul 21, 2006 07:15 PM
This is possible?
Posted: Fri Aug 03, 2007 07:01 PM
Antonio,
Thank you so much, I changed ttoolbar class and add some methods to works with change button bitmaps, when is mouse over and change bitmap insted use inactive button.

Take a look, do you want that I send you the code changed?



Regards[/img][/url]
FWH / xHarbour / BCC / MySql

Visual Studio / Harbour / DotNet Maui / C#

Continue the discussion