loadPicture for ActiveX Controls

The loadPicture method provides a return value to be used as icon in ActiveX Controls.

loadPicture <filename_string>

Return value is a IPictureDisp, an MSDispatch object. File type must be a .bmp, .wmf, or .ico format. Anywhere an activeX control accepts IPictureDisp, you can pass the return value from this function. See the new Named Selection Set dialog and the How To ... Develop a Scene Browser using TreeView ActiveX Control - Part Two tutorial for example usages.

Note:

Does not accept symbolic paths.

See also

ActiveX Controls in MAXScript Rollouts