trichview.com

trichview.support.examples




Example: making background transparent


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/14/2004 22:26:33


Set RichViewEdit1.Color = clFuchsia, then call


  SetWindowLong(Handle, GWL_EXSTYLE, GetWindowLong(Handle, GWL_EXSTYLE) or

WS_EX_LAYERED);

  SetLayeredWindowAttributes(Handle, clFuchsia, 0, LWA_COLORKEY);


(where Handle - handle of the form with RichViewEdit1)


Side effect: mouse clicking through the editor.


Must work in Win2000/XP






Powered by ABC Amber Outlook Express Converter