Re: XRC Editting - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: XRC Editting
Date
Msg-id 3F8D6AAE.4060403@pse-consulting.de
Whole thread Raw
In response to Re: XRC Editting  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-hackers
Dave Page wrote:

>
>
>
>
>>-----Original Message-----
>>From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
>>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



pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: XRC Editting
Next
From: Raphaël Enrici
Date:
Subject: Re: XRC Editting