![]() |
How to make the caption of button emphasized |
Post Reply ![]() |
Author | |
yanlv ![]() Groupie ![]() Joined: 23 June 2008 Location: China Status: Offline Points: 23 |
![]() ![]() ![]() ![]() ![]() Posted: 04 August 2008 at 9:42pm |
I add "abc\nabc" in the prompt in the toolbar button properties and add lpCreateControl->buttonStyle = xtpButtonIconAndCaption;
in the int CMainFrame::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl) then the string "abc" will occur after the icon. But how to emphasize this string? i.e. make the font bold like office. Thanks. |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
you can try
lpCreateControl->pControl = new CXTPControlButton();
lpCreateControl->pControl->SetItemDefault(TRUE);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |