Notifications
Clear all

[Closed] VFB Load Image with windows.sendMessage

fn LoadImage_VFB =
(
	message_code = ?????
	vr=renderers.current
	vr.showLastVFB()
	t=windows.getChildHWND 0 "V-Ray frame buffer - [1600% of 640 x 480]" 
	windows.sendMessage t[1] message_code  0 0
)
LoadImage_VFB()

The question is – how can I get the message code for load_image btn in VFB?
In SPY++ I can get the handle only. It is 000131B0, but the code should look like
0x…

2 Replies

Why not use the vfbControl() MaxScript function? It allows you to load an image into the VFB.

Best regards,
Vlado

vfbControl() gives me Call needs function or class, got: undefined.
How to use it?