I noticed some differences.
If you move over a selected tab Office 10 does not change the color or outlook. Fivewin does.
Not changing the color gives a more stable impression.
- Code: Select all Expand view
TRibbonBar
METHOD MouseHover( nRow, nCol ) CLASS TRibbonBar
local nPrompt := ::nOverPrompt( nRow, nCol )
if ::nLastOver != 0 .and. ::nLastOver != ::nOption .and. ::nLastOver != nPrompt
::PaintOver( ::nLastOver, 4 )
endif
if nPrompt == 0
::PaintOver( ::nOption,1 )
::nLastOver := 0
// elseif nPrompt == ::nOption
// ::PaintOver( ::nOption, 2 )
// ::nLastOver := ::nOption
else
::PaintOver( nPrompt, 3 )
::nLastOver := nPrompt
endif
return nil
It seems to me that
Office 2010 uses a smaller value than 6 to round.
::hRgn := CreateRoundRectRgn( aRect, 6, 6 )
Best regards,
Otto