draw something in vsx

153 Views Asked by At

I found this picture comment, I am curious that how the adornment can draw into to vs text editor. My First Sense is that we can get the text window handle and then draw what we what. But I tried to sub-class text window, I can get the handle but my sub-class window doesn't get any window messages. Or does someone has any other idea about how to implement this? TIA.

1

There are 1 best solutions below

1
On

I have posted your question on MSDN Forum at Getting Graphics of the text editor window thread, and got a reply from Ed Dore (Microsoft) explaining it. Please have a look at the thread above.

Hope that helps,