Page 1 of 1
Different font style in menu
Posted: Fri Jun 13, 2008 9:13 am
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:
Thanks.
Posted: Fri Jun 13, 2008 12:08 pm
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.
Posted: Fri Jun 13, 2008 5:53 pm
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