> > > --- In [email protected], "brucexs" <bswitzer@> wrote:
> > > 
> > > > If it is a button or other window that PowerPro draws, the font
> > > > is usually created and kept for the lifetime of the window and
> > > > destroyed on wm_destroy. Fonts that go across windows (eg own
> > > > default font for all bars) are created and destroyed at each
> > > > reconfigure, I think (I have not checked code).

I "think" I am seeing a resource issue with normal operation.

<http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/PossibleResourceProb.zip>

The above file I posted has a script uses cl commands to build a test
bar with several buttons. The bar has its own default font, and the
buttons each have own font. To simplify, all the buttons have the same
own font selected.

All I did was load the bar via the script and click its close button.
Twice. The Bar gets rebuilt each time the script is run.

Those fonts are multiplying. I expected to see a font resource for
each own font, but another set of  five is added and none removed for
each run.

The text files included in the zip show the font info in PowerPro
process from the GDI View with extended information (after starting
with "Empty" pcf and after updating the view following each of two
script executions, and resorting on the extended information column). 

More runs = more fonts.

Regards,
Sheri


Reply via email to