Re: Win32 Resources

new topic     » goto parent     » topic index » view thread      » older message » newer message

Bernie Ryan wrote:

> Be sure are NOT using GetDC and ReleaseDC
> functions in place of any BeginPaint and
> EndPaint functions.

This shouldn't be a problem. Win32Lib keeps a list called 'paintDC' that
tracks if an window already has a DC open, instead of using GetDC.

> Maybe this also might have something to do
> with fonts changing?

I'm guessing that Win32Lib is, in fact, zapping font handles. So Windows
then falls back on using a stock font, which look pretty ugly. I *think*
this is what's happening, but I could be wrong.

Thanks!

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu