Search code examples
c#wpfvb.netinteroplegacy

adding adorners to legacy textboxes


Whats the best way to add an adornment layer to legacy controls, or in other words you know jetbrains refactoring tools, how do they draw the squiggly lines under incorrect text? Also on another note can one draw said adorments on controls not under the direct reference of the application, ie using a handle? If you have insights, or just theories, please.


Solution

  • Here are some resources

    http://msdn.microsoft.com/en-us/library/aa302340(loband).aspx http://www.codeproject.com/KB/graphics/DoubleBuffering.aspx http://msdn.microsoft.com/en-us/library/bb775487(VS.85).aspx (Rich Textbox)