I'm doing some work with the RichEdit control and I've just come across something that seems relatively undocumented and is not supported by the current version of PB's RichEdit.inc. A quick search of the forums also failed to turn up anything about it. I'm sure there are some gurus here that know this already, but I'd thought I'd share it for the rest of us.
Giving the RichEdit control an extended style value of &H20 will make the background transparent. This only works with MSFTEDIT.DLL (RichEdit50W).
I couldn't find a MS-defined constant name for this value, so I've modified my copy of RichEdit.inc as follows:
%ES_EX_TRANSPARENT = &H00000020
It opens up a world of possibilities for me. I came across this information here: http://www.dotnetjunkies.com/WebLog/...chtextbox.aspx
If anyone has any more on this or any other RichEdit "secrets", I'd be interested to know.
Giving the RichEdit control an extended style value of &H20 will make the background transparent. This only works with MSFTEDIT.DLL (RichEdit50W).
I couldn't find a MS-defined constant name for this value, so I've modified my copy of RichEdit.inc as follows:
%ES_EX_TRANSPARENT = &H00000020
It opens up a world of possibilities for me. I came across this information here: http://www.dotnetjunkies.com/WebLog/...chtextbox.aspx
If anyone has any more on this or any other RichEdit "secrets", I'd be interested to know.
Comment