Dave Page wrote:





-----Original Message-----
From: Andreas Pflug [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 15:18
To: Dave Page
Cc: pgadmin-hackers
Subject: Re: [pgadmin-hackers] XRC Editting




It also seems the you can get around it by simply removing

the d from

the dialogue size, and temporarily doubling the size values.

It's only

the d on the dialogue it doesn't like which the message doesn't make clear.




But that's dangerous, you could forget to recalc it.



Not really. Double size is so much bigger that you wouldn't fail to notice whilst testing the code.



So what's your icon font?



8 point Tahoma




That's very standard.

in wx/src/msw/settings.cpp (one of my patches) around line 255 the font is read from the system SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lf), &lf, 0); This should be your desktop font. On my W2K it works as expected. What's the returned logfont looking like on your system?



Not sure what you mean. lf has a value of -11...




Yes, that's Microsoft. lf.leHeight is -(fontsize+3). lfFaceName should be Tahoma, right?
This should be used throughout the app (except for menu and caption, which use individual font settings from the "desktop appearance" settings). Does your app behave correctly if you change your desktop font?


Regards,
Andreas



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
   (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to