Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to change TMainMenu font size?

781 views
Skip to first unread message

Florian Ziemann

unread,
Jul 26, 2002, 11:49:23 AM7/26/02
to
Hi all,

does anyone know a simple way to change the main menu font size without
changing the lfMenuFont in NonClientMetrics (which changes menu font
size for all applications)?

TIA

Florian


------------------------
Dr. Florian Ziemann
Penplan Consulting
Jakob-Klar-Str. 14
80796 München
Tel. 089-2737197-39
Fax 089-2737197-65
Mail zie...@penplan.com

Peter Below (TeamB)

unread,
Jul 26, 2002, 12:52:31 PM7/26/02
to
In article <3D416F83...@penplan.com>, Florian Ziemann wrote:
> Hi all,
>
> does anyone know a simple way to change the main menu font size without
> changing the lfMenuFont in NonClientMetrics (which changes menu font
> size for all applications)?

Use a toolbar menu instead of a standard menu bar. That gives you more control.

Please do not post your question to several of the newsgroups at once, it is against
the forum guidelines (see http://www.borland.com/newsgroups/) and just wastes
resources (both server and human, somebody might spend time on answering a post that
has already been answered in another newsgroup).

--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be


Florian Ziemann

unread,
Jul 27, 2002, 7:43:23 AM7/27/02
to
Hello Peter,

> Use a toolbar menu instead of a standard menu bar. That gives you more control.

As far as I could see, that gives me more control of the menu items in
the toolbar but not the pulled down items. Did I miss something?

> Please do not post your question to several of the newsgroups at once, it is against
> the forum guidelines (see http://www.borland.com/newsgroups/) and just wastes
> resources (both server and human, somebody might spend time on answering a post that
> has already been answered in another newsgroup).

Sorry for cross-posting ... I wasn't sure where to post ... won't happen
again!

Thank you for your help!

Florian

------------------------
Dr. Florian Ziemann
PENPLAN Consulting

Peter Below (TeamB)

unread,
Jul 28, 2002, 7:23:20 AM7/28/02
to
In article <3D42875B...@penplan.com>, Florian Ziemann wrote:
> > Use a toolbar menu instead of a standard menu bar. That gives you more control.
> As far as I could see, that gives me more control of the menu items in
> the toolbar but not the pulled down items. Did I miss something?

You have to use owner-drawn menus for the dropdowns since the default drawing uses the
system menu font. Sorry, should have mentioned that in the original reply.

StephJ

unread,
Jul 29, 2002, 1:32:01 PM7/29/02
to
You can use Screen.Font property

Steph
"Florian Ziemann" <zie...@penplan.com> a écrit dans le message de news:
3D416F83...@penplan.com...

0 new messages