FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Differences in listbox between Windows XP and Windows 7
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Differences in listbox between Windows XP and Windows 7
Posted: Tue Apr 20, 2010 02:16 PM
Hello,

I noticed a big difference in the fonts of a listbox between Windows XP and Windows 7

This is how a Windows XP listbox looks like : http://www.ma-consult.be/winxp.jpg (please download).

This is how the same listbox looks in Windows 7 : http://www.ma-consult.be/win7.jpg (please download).

In Windows 7, the font is smaller, although I use the same font defined by my application.

What can I do to make both listboxes look similar ?

Thank you very much in advance for any help.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Differences in listbox between Windows XP and Windows 7
Posted: Tue Apr 20, 2010 06:54 PM

Michel,

You could use FWH function IsWin7() to detect if your application is running on Win7 and then create a larger font for it.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion