FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Different font style in menu
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Different font style in menu
Posted: Fri Jun 13, 2008 09:13 AM
Hi,
is there anyone that know if is it possible to use a "bold" style for some menu elements ?

Something like this:



Thanks.
Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Different font style in menu
Posted: 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
Posts: 71
Joined: Fri Jan 11, 2008 06:55 AM
Different font style in menu
Posted: Fri Jun 13, 2008 05:53 PM
I Use This Code, And Works!!!


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



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


Regards,

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

Continue the discussion