Notifications
Clear all

[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?

6 Replies
 lo1

I’m pretty sure that’s not the VRay frame buffer.

1 Reply
(@momo2012)
Joined: 11 months ago

Posts: 0

oh,i am so sorry,it’s my mistake,the picture is below:

 lo1

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.

1 Reply
(@momo2012)
Joined: 11 months ago

Posts: 0

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.

 lo1

Not unless Vray Frame Buffer chooses to expose this functionality to maxscript, which as far as I can tell, it does not.

1 Reply
(@momo2012)
Joined: 11 months ago

Posts: 0

Thanks for your help lo,I’ll try examples on that forum later.