cambio graduale di luminosità in ribbonbar

Moderator: Enrico Maria Giordano

cambio graduale di luminosità in ribbonbar

Postby marzio » Mon Oct 26, 2015 8: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
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: cambio graduale di luminosità in ribbonbar

Postby Antonio Linares » Mon Oct 26, 2015 11:19 am

Marzio,

Could you please provide a screenshot ? thanks
regards, saludos

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

Re: cambio graduale di luminosità in ribbonbar

Postby marzio » Mon Oct 26, 2015 5: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).
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: cambio graduale di luminosità in ribbonbar

Postby Antonio Linares » Mon Oct 26, 2015 6:15 pm

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 ?
regards, saludos

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

Re: cambio graduale di luminosità in ribbonbar

Postby Enrico Maria Giordano » Mon Oct 26, 2015 6:16 pm

There is no such effect in Word 2010.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8243
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: cambio graduale di luminosità in ribbonbar

Postby Antonio Linares » Mon Oct 26, 2015 6:19 pm

neither in Windows 10 Ms Paint RibbonBar
regards, saludos

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


Re: cambio graduale di luminosità in ribbonbar

Postby marzio » Tue Oct 27, 2015 8: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.
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: cambio graduale di luminosità in ribbonbar

Postby Antonio Linares » Tue Oct 27, 2015 9:04 am

To implement an animation we should use a timer.

Thinking about it...
regards, saludos

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

Re: cambio graduale di luminosità in ribbonbar

Postby Silvio.Falconi » Fri Feb 05, 2016 8:55 am

or use sleep ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6716
Joined: Thu Oct 18, 2012 7:17 pm

Re: cambio graduale di luminosità in ribbonbar

Postby Antonio Linares » Fri Feb 05, 2016 9:34 am

that would block the application execution
regards, saludos

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


Return to All products support

Who is online

Users browsing this forum: No registered users and 6 guests