This is possible?

This is possible?

Postby Eroni » Wed Aug 01, 2007 11:33 pm

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

Regards

Eroni
User avatar
Eroni
 
Posts: 98
Joined: Fri Jul 21, 2006 7:15 pm
Location: Criciuma/SC Brazil

Postby Antonio Linares » Thu Aug 02, 2007 11:21 am

Eroni,

You need to modify the Class TToolBar in order to do it:
Code: Select all  Expand view
   ...
   do case

      case nCode == TTN_GETDISPINFO

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Eroni » Fri Aug 03, 2007 7: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?
Image
Image

Regards[/img][/url]
User avatar
Eroni
 
Posts: 98
Joined: Fri Jul 21, 2006 7:15 pm
Location: Criciuma/SC Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests