MAXScript Tools and Interaction with 3ds Max > Creating MAXScript Tools > ActiveX Controls in MAXScript Rollouts >

# Sending Windows Message

Note

ActiveX Controls have been deprecated by Microsoft in the latest versions of the Windows operating system in favor of the DotNet framework and its controls.

While MAXScript still supports ActiveX controls, these have to be installed and registered on the system to be accessible to MAXScript.

As a replacement of ActiveX controls, MAXScript supports DotNet controls in 3ds Max 9 and higher.

Windows Messages are used by the Microsoft Windows notification system. By sending Windows Messages, the MAXScript developer can participate in the Windows notification system and access features not directly available in MAXScript.

    Windows.sendMessage <int HWND> <int message> <int messageParameter1> <int messageParameter2>

Calls the Window’s SendMessage function passing the argument values.

For an example, see How To ... Develop a Selected Objects Inspector using ListView ActiveX Control - Part Two

#### See Also

- ActiveX Controls in MAXScript Rollouts

- Interaction With The Operating System