[Closed] flicker problems with the dotNet UI
Hi!
I am developing a MaxScript for better expression script editing. I will make it available as a free download on scriptspot and zwischendrin.com if it’s done. In fact it is nearly done and there is just one annoying problem left.
It’s again a flicker problem with a dotNet UI. I saw some posts here on cgsociety.org but they ended with “programming a custom ui element in c#” which isn’t a good solution for me.
It’s a regular max dialog with some dotNet elements. On of it is a RichTextBox for the MaxScript code (with syntax highlighting btw.) and one a RichTextBox on top of the other to display line numbers. The solution works pretty well beside the flickering. I also tried programming some kind of double/back buffer but I wasn’t able to do it.
Does someone have a “MaxScript/dotNet only” solution for those kind of flicker problems?
Thanks,
Fabian
Thank you very much! This really helped against flickering! I think it is a little bit more complicated to create forms this way but the benefit is great. I hope to release this little script soon but I came across other problems with this approach.
Thank you, lo!
I attached the script to this post. The flickering is gone!
Maybe someone can help me to fix another (the final) problem. I think it’s related to the regular expressions part.
The highlighted syntax is inserted multiple times behind the cursor position sometimes…