Page 1 of 1

cambio graduale di luminosità in ribbonbar

PostPosted: Mon Oct 26, 2015 8:20 am
by marzio
E' possibile ottenere un cambio graduale di luminosità quando il mouse è posizionato su un gruppo della ribbonbar, come avviene in office?
grazie
marzio

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Mon Oct 26, 2015 11:19 am
by Antonio Linares
Marzio,

Could you please provide a screenshot ? thanks

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Mon Oct 26, 2015 5:16 pm
by marzio
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).

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Mon Oct 26, 2015 6:15 pm
by Antonio Linares
This is the code currently used to paint a RibbonBar panel:

Code: Select all  Expand view
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 ?

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Mon Oct 26, 2015 6:16 pm
by Enrico Maria Giordano
There is no such effect in Word 2010.

EMG

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Mon Oct 26, 2015 6:19 pm
by Antonio Linares
neither in Windows 10 Ms Paint RibbonBar

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Mon Oct 26, 2015 6:31 pm
by Enrico Maria Giordano
Antonio,

right.

EMG

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Tue Oct 27, 2015 8:03 am
by marzio
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.

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Tue Oct 27, 2015 9:04 am
by Antonio Linares
To implement an animation we should use a timer.

Thinking about it...

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Fri Feb 05, 2016 8:55 am
by Silvio.Falconi
or use sleep ?

Re: cambio graduale di luminosità in ribbonbar

PostPosted: Fri Feb 05, 2016 9:34 am
by Antonio Linares
that would block the application execution