Notifications
Clear all

[Closed] How To change max rollout control's size after creation

9 Replies

Great stuff again denisT

Denis, That is awesome work – the horizontal slider size is the bane of my life and ive never managed to get a dotnet replacement to work as well. Thank you

 PEN

Very cool indeed. Nice work around.

 PEN

Interesting that there is a small change for each increment from 1 to 20, then 21 doesn’t look any different and 22 is large. Any reason for this?

 PEN

And what is with the “::” in C#? For what reason is it used here?

1 Reply
 JHN
(@jhn)
Joined: 11 months ago

Posts: 0

Double semi columns are mostly used in object oriented languages to call a static method from a class. But Denis is using it as maxscript where it’s a hidden gem, Bobo recently exposed somewhere, basically he’s making the ::wndclass in a globalscope.

Lookup : “Specifying Global Variables As Global Using ::” in the mxs help file.

-Johan

Any thoughts on using this method and being able to customise the slider thumb appearance? At the moment i use a custom GDI drawn slider, which gives me more control with it’s appearance.

However changing the slider thumb to something flatter or integrated with the UI color rather than the windows vista style would improve the Ui intergration IMHO. It would be a great halfway between the advantages of the max slider’s callback functionality and the custom control’s appearance.

p.s. Paul, you might recognise the hand shape in my control – its been cruely stolen from your pen object library

I have been hoping for this for while…Great stuff and thanks for sharing… your knowledge base is always very helpful for everyone here…

Thank you

 PEN

No problem, I stole it right out of the wingdings:)

Nice looking UI.