Changing Font in Ribbon |
Post Reply |
Author | |
MarcoW
Newbie Joined: 24 May 2019 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 05 December 2019 at 5:23am |
Hi, how can i change the font / font size in the ribbon? When using m_pRibbonBar->SetFont(font); nothing happens. When using pCommandBars->GetPaintManager()->SetCommandBarsFontIndirect(&theApp.m_lfStartprogramFont); the font changes but then the heigth of the ribbn doesnt change, so that icons get scaled but are to big for the ribbon. Use of m_pRibbonBar->SetFontHeight(16); doesnt work, when pCommandBars->GetPaintManager()->SetCommandBarsFontIndirect gets called. So my question is, how can i set the font for an ribbon with the possibility to change the font size and ribbon and icons get scaled correctly (like in the ribbon sample)? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |