Advertisement

05.28.2008 at 07:24AM PDT, ID: 23438129
[x]
Attachment Details

How to: bold text in a TMenuItem

Asked by Xyptilon2 in C++ Builder

Tags:

Hi all,

At the moment, i have:


TMenuItem *NewItem = new TMenuItem(this);
NewItem->Caption = "Some caption";
NewItem->OnClick = SystemMessageClick;

How can I set the font of NewItem to Bold? Do i need to specify an
OnDrawItem handler?  and do it there? if so, how?
Start Free Trial
 
Loading Advertisement...
 
[+][-]05.28.2008 at 08:09AM PDT, ID: 21661102

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.29.2008 at 10:11AM PDT, ID: 21671144

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C++ Builder
Tags: C++ Builder 2007
Sign Up Now!
Solution Provided By: mattfowler
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628