FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index All products support cambio graduale di luminosità in ribbonbar
Posts: 193
Joined: Wed Apr 04, 2007 06:54 AM
cambio graduale di luminosità in ribbonbar
Posted: Mon Oct 26, 2015 08:20 AM

E' possibile ottenere un cambio graduale di luminosità quando il mouse è posizionato su un gruppo della ribbonbar, come avviene in office?
grazie
marzio

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: cambio graduale di luminosità in ribbonbar
Posted: Mon Oct 26, 2015 11:19 AM

Marzio,

Could you please provide a screenshot ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 193
Joined: Wed Apr 04, 2007 06:54 AM
Re: cambio graduale di luminosità in ribbonbar
Posted: Mon Oct 26, 2015 05:16 PM

it is necessary a video not a screenshot.
when you move the mouse cursor over a group in fivewin's ribbonbar the group became brightness instantly.
in word 2007 (and other office program) the group became brightness slowly (in half or one second).

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: cambio graduale di luminosità in ribbonbar
Posted: Mon Oct 26, 2015 06:15 PM
This is the code currently used to paint a RibbonBar panel:

Code (fw): Select all Collapse
METHOD Paint() CLASS TRPanel

   local aInfo    
   local aRect :=  GetClientRect( ::hWnd )
   
   aInfo := ::DispBegin()   
   
   FillRect( ::hDC, GetClientRect( ::hWnd ), ::hBack )

   ::DispEnd( aInfo )
   
return NIL


We should figure out how to delay it.

Does the color intensity changes progressively in such little time ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: cambio graduale di luminosità in ribbonbar
Posted: Mon Oct 26, 2015 06:16 PM

There is no such effect in Word 2010.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: cambio graduale di luminosità in ribbonbar
Posted: Mon Oct 26, 2015 06:19 PM

neither in Windows 10 Ms Paint RibbonBar

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: cambio graduale di luminosità in ribbonbar
Posted: Mon Oct 26, 2015 06:31 PM

Antonio,

right.

EMG

Posts: 193
Joined: Wed Apr 04, 2007 06:54 AM
Re: cambio graduale di luminosità in ribbonbar
Posted: Tue Oct 27, 2015 08:03 AM

Secondo me la grafica di office in 2010 e 2013 è molto peggiorata,
microsoft non sa più cosa fare di nuovo. quando le finestre non sono a pieno schermo sono poco distinguibili da quello che c'è dietro.
comunque si in meno di un secondo fa una animazione probabilmente di alcune gradazioni di azzurro di diversa luminosità,
anche quando togli il mouse dal gruppo fa una animazione inversa da chiaro a scuro.

In fact the graphics in office 2010 and 2013 is much worse, microsoft no longer knows what to do new.
When a windows or a dialog are not in full screen are hardly distinguishable from what is behind.
However, in less than a second makes an animation probably some shades of blue vary in brightness.
even when you move away the mouse from the Group, it makes a reverse animation from light to dark.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: cambio graduale di luminosità in ribbonbar
Posted: Tue Oct 27, 2015 09:04 AM

To implement an animation we should use a timer.

Thinking about it...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: cambio graduale di luminosità in ribbonbar
Posted: Fri Feb 05, 2016 08:55 AM

or use sleep ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: cambio graduale di luminosità in ribbonbar
Posted: Fri Feb 05, 2016 09:34 AM

that would block the application execution

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion