Different font style in menu

Different font style in menu

Postby Marco Turco » Fri Jun 13, 2008 9:13 am

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
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Postby Antonio Linares » Fri Jun 13, 2008 12:08 pm

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
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby andresreyes_mzt » Fri Jun 13, 2008 5:53 pm

I Use This Code, And Works!!!


Code: Select all  Expand view  RUN

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




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


Regards,

Andres Reyes
{{{ ---- xharbour + Borland C --- }}}
User avatar
andresreyes_mzt
 
Posts: 71
Joined: Fri Jan 11, 2008 6:55 am
Location: Mexico


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 71 guests