Re: XRC Editting

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: XRC Editting
Дата
Msg-id 3F8D6AAE.4060403@pse-consulting.de
обсуждение исходный текст
Ответ на Re: XRC Editting  ("Dave Page" <dpage@vale-housing.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: XRC Editting
Следующее
От: Raphaël Enrici
Дата:
Сообщение: Re: XRC Editting