Re: [WIN] Win32Lib: problem with setFont in RichEdit
--- Judith Evans <camping at FLASH.NET> wrote:
> When using RichEdit control and using setFont, I find that whatever is
> behind my window gets set to the font also. (This doesn't happen every time
> and I can't get a handle on the circumstances when it does.) For example if
> I have windows explorer open and run my program, then explorer also gets the
> font! I can see it change because my window is not full screen. Closing
> explorer and reopening solves that. If however, the desktop is behind my
> program, IT gets the font and I have to recycle the computer to change it
> back to the system font.
>
> I recall this happening with setFont before we had RichEdit and David Cuny
> found the problem. Perhaps is has reared its ugly head again?
I hadn't heard/noticed this. I don't really understand fonts so well. I just
piggybacked richedit onto the existing code. If Dave could explain to me
(privately or publicly) what he found going wrong before, I'd be happy to take
a look at it.
> Also RichEdit word wraps. Is there a fix for this?
Have you tried using ES_AUTOHSCROLL? I believe that's what does it for simple
MLE's, so it should work for a richedit, too.
=====
Matt Lewis
http://www.realftp.com/matthewlewis
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
|
Not Categorized, Please Help
|
|