Take a look at asciiexp exporter sample of the SDK (maxsdk\samples\import_export\asciiexp); asciiexp.cpp is the source where the UI is setup. Also, “C…
Ah ok, I remember now I noticed this behaviour when I used a .NET control in a scripted utility; it wasn’t refreshed correctly.
Have you tried Invalidate() method ? Can you post a sample code showing this strange behaviour ? SceneListView example from the reference doesn’t hav…
Hi Alex, Maybe you’ve already done that but have you looked at areMtlAndRendererCompatible() function.
rodbrew: I’m still doing my drawing in Maxscript though. Maybe down the road I’ll do it in the control but will have to buy a C# book before that. …
RustyKnight: I’m prefer to try all the “out of the box” solutions I can first, and I agree, I think the double buffer is the issue. It’s just a sha…
Happy to see my article can help people using .NET with MAXScript!
As far as I know I’ve never heard about that with .NET. I think it’s better to develop a custom control because the code of the control drawing will …
RustyKnight: Oh well, worth a try… I did a VERY quick search and I don’t know if it will help at all, but you might want to consider setting the “D…
Thanks a lot for the code!
static public int addval (ref int a, ref int b) -> ref are useless as you’re not assigning a value to them in the method And you can call the addv…
See this post with code sample: You can easily and very quickly convert a .NET bitmap to MAXScript and vice versa using the windows clipboard : Set…
I have code to do that. You can think of an algorithm like this: Get pixel color from MAXScript bitmap -> Set it to .NET bitmap This is pretty slow…
MAXScript bitmap value or .NET bitmap value ? In fact it’s better for speed to draw the bitmap .NET value in the paint event handler. EDIT: Here is …
RustyKnight: How would you go about scaling the image?? This is not a critism, I’m actually interested in knowing some more about dotnet’s image ha…