Different font style in menu

Post Reply
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Different font style in menu

Post by Marco Turco »

Hi,
is there anyone that know if is it possible to use a "bold" style for some menu elements ?

Something like this:

Image

Thanks.
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Marco,

As FWH uses an ownerdraw menu for 2007 style, it can be done. Windows standard menu does not allow it.

But the source code has to be changed: A new DATA would be required for bold, and the C source code has to be also changed. Its not a simple change.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
andresreyes_mzt
Posts: 70
Joined: Fri Jan 11, 2008 6:55 am
Location: Mexico
Contact:

Post by andresreyes_mzt »

I Use This Code, And Works!!!

Code: Select all


HB_FUNC( SETMENUDEFAULTITEM )
{
     SetMenuDefaultItem( hb_parnl(1), hb_parnl(2), hbparl(3) );
}


SetMenuDefaultItem( <MenuHandle>, <itemId>, .F. )


Regards,

Andres Reyes
{{{ ---- xharbour + Borland C --- }}}
Post Reply