Differences in listbox between Windows XP and Windows 7

Differences in listbox between Windows XP and Windows 7

Postby driessen » Tue Apr 20, 2010 2: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Differences in listbox between Windows XP and Windows 7

Postby Antonio Linares » Tue Apr 20, 2010 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 104 guests