[Closed] Good source for .net controls info?
Any one know where I can get information about how to work with things like the new .net treeview?
bobo has some information here:
http://www.scriptspot.com/bobo/mxs9/dotNet/index.html
and in the MXS help there are a couple of topics about that:
Converting scripts from using activex controls to dotnet controls
Converting activex treeview control into dotnet treeview control
Converting activex listview control into dotnet listview control
cheers,
o
Hey man,
Msdn is really good for the .net stuff:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.treeview(VS.71).aspx
Light
See also NET_TreeViewWrapper.ms in stdplugs\stdscripts coded by Chris Johnson. It’s a wrapper around the .Net TreeView control; it contains some useful functions that helps the use of this control.
There’s also NET_ListViewWrapper.ms dealing with the .Net ListView.
Hi,
I think the best source to learn the MaxScript side is to look into
<MAXROOT>\stdplugs\stdscripts\NET_TreeViewWrapper.ms
and also NET_ListViewWrapper.ms
Very good implementation !
and very helpfull !
Thanks guys. I’m going to have to convert all my old scripts at some point as well. Some of which I haven’t looked at in at least five to six years. I wonder what that code will look like:S
Good luck Paul :).
It’s easy to convert ActiveX controls to .Net but it’s hard to convert old (ugly) code.
I haven’t had a problem converting any of it, it is learning what some of the features do that are not in the help. There is very little to go on to know what sort of values can be passed in.
If you want to get crazy you could learn by making your own versions of the .net controls. I did that with the tab control; make your own instance of the TabControl and override its methods in C#. The msdn is the best resource. www.thecodeproject.com is also great if you want to see examples of other people making their own instances of control objects and other classes. I also made a simple chat client that people could use from inside 3ds max Here’s those tabs:
[left]Yay! No more ugly default tabs. These have properties that you can set at runtime so you can use the same colors as whatever the UI is.
[/left]
Good looking tab control James.
Yes, The Code Project website is great. http://www.codeguru.com/ is also an interesting resource.
Oh good, some one that has messed with it. How do I get the tab click event handler working? Doesn’t appear to be the same as treeview or listview. Any suggestions? And I can change the colours of the tab control can’t I without using a custom one?