1. Font Dialog Box

Hi all,

There was a brief thread awhile back about needing a font dialog box.  I
forget all the specifics because I've slept since then, but it seemed that
the solution to getting all the available fonts was to write a function
that used EnumFontFamiliesEx (or some such thing)...

Anyhow, I was wondering if anyone feels brave enough to tackle this and
write a function that David could plug in to win32lib.  If there are no
takers, I'll probably end up doing it in 4-6 weeks, but there's a lot of
other stuff I want to do on the IDE first.

Brian

new topic     » topic index » view message » categorize

2. Re: Font Dialog Box

Brian Jackson wrote:

> Anyhow, I was wondering if anyone feels
> brave enough to tackle this and write a
> function that David could plug in to win32lib.

Someone pointed out the MSN references a couple of days ago, and I (again)
found the Nancy Cluts tutorials on the Common Controls, including the font
dialog, and an example of how to build a list of fonts. She cheats a bit,
and only collects the names of TrueType fonts, so she doesn't have to gather
the fonts sizes for bitmapped fonts.

In any event, I took lots of notes, and adding the remaining controls has
moved up a bit higher on my list. The ImageList is one of the first I need
to do, because several controls rely on it. The RichTextEdit control looks
like a real pain, so it may be among the last to be wrapped.

But if someone wants to wrap any routines, I'll be more than happy to
include them in Win32Lib.

Thanks!

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

3. Re: Font Dialog Box

I have already done a font dialog. It presents the standard font dialog
box without any default font and allows for selecting the font, points,
style and color. The code is not up to the beauty of win32lib but it works.
I'll post it later on today.

Judith Evans

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu