On 30 Apr 01, at 9:55, Johan Lindstrom wrote:
> Does the Win32::GUI::ChooseFont() work?
sorry, don't know about that.

> The -name is pretty straightforward, but I don't understand what I
> should do with the -size I get back. If I use it to set a font size in
> a RichEdit, the type is smaller than what I selected.
from memory, the richedit control's font size is double what you'd
expect.  presumably to allow font sizes like 9.5pt with an integer
property.  don't remember that they bothered to tell anyone though.
 anyway, 20 = 10pt and so on.

unfortunately, i've never played with either rich edits or
ChooseFont() in Win32::GUI so i can't help any further.

> The -size passed to the sub doesn't seem to affect the preselected
> Size in the dialog box. The -height attribute seems to determine the
> Size in the dialog box, but no -height is returned. I'm trying to do a
> RichEdit->SetCharFormat() which unfortunately is undocumented, so...
> :/
>
> BTW, the TreeView example behaves kind of weird if you do "Options |
> Choose font...".
>
>
> /J
> --
> Johan Lindström, Sourcerer, Boss Casinos Ltd, Antigua
> [EMAIL PROTECTED]
>
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tompaton (at) connect (dot) net (dot) au
http ... people.connect.net.au/~tompaton

Reply via email to