[Closed] How to disable Vray Frame Buffer buttons?
Hi guys,
Does anyone know how to disable or hide Vray frame buffer buttons via maxscript,is that possible?
Well, you’d need some callback to let you know when the Frame buffer is created, I am not sure which callbacks the Vray frame buffer invokes.
Then you’d need to find the window handle of the frame buffer.
Then you’d need to find the window handles of all the controls you want to hide.
Then you would need to call the User32.dll ShowWindow function with the handle of the control you want to hide and the SW_HIDE command (0). For this you would need to dynamically compile a c# assembly. There are a lot of examples on this forum.
Thanks lo,it’s too much advance knowledge for me,and I don’t know c at all,even there maybe a way to handle this,but I think if all can handle via totally maxscript would be better,but I think that’s impossible.
Not unless Vray Frame Buffer chooses to expose this functionality to maxscript, which as far as I can tell, it does not.