--- In [email protected], "brucexs" <bswit...@...> 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).

...so it's not a good idea, in dialog.set_font, to attempt to delete
an HFONT retrieved from a bar with WM_GETFONT (in order to remove old
font afternreplacing it with a new one); I might be deleting font used
by all bars.



Reply via email to