1.) When i use a second window with ribbonbar and open and close this second window several times, the font in the first window is destroyed. We should not end the font.
2.)
This code is to reach a better linement of the text when texthigh is greater.
METHOD Destroy() CLASS TRBGroup
...
// ::End()
...2.)
This code is to reach a better linement of the text when texthigh is greater.
METHOD Paint() CLASS TRBGroup
...
nOldBk := SetBkMode( ::hDC, TRANSPARENT )
DrawText( ::hDC, ::cCaption,{ aRect[ 3 ] - ::oFont:nHeight * nLine * 1.3 , aRect[ 2 ] + 3, aRect[ 3 ] - 1, aRect[ 4 ] - 3 }, nStyle ) //NEW
SetBkMode( ::hDC, nOldBk )
...