MaxCustomControls.Win32API dotNetObject

These dotNetObjects are implemented by the MaxCustomControls Assembly and provide methods for accessing some of the major Win32 API functions including message sending, bringing windows to top, and wrapping of window handlers as DotNet Pointers.

dotNetObject "MaxCustomControls.Win32API"

Constructors:

MaxCustomControls.Win32API()

Properties:

.WM_KEYUP : <System.Int32>, read-only, static

Methods:

.[static]<System.Int32>BringWindowToTop <System.IntPtr>hWnd
.<System.Boolean>Equals <System.Object>obj
.[static]<System.Boolean>Equals <System.Object>objA <System.Object>objB
.<System.Int32>GetHashCode()
.<System.Type>GetType()
.[static]<System.Boolean>ReferenceEquals <System.Object>objA <System.Object>objB
.[static]<System.Int32>SendMessage <System.IntPtr>hWnd <System.UInt32>Msg <System.UIntPtr>wParam <System.UIntPtr>lParam
.<System.String>ToString()

dotNetObject "MaxCustomControls.Win32HandleWrapper"

Removed in 3ds Max 2015

Use System.Windows.Forms.NativeWindow.FromHandle() instead:

theHwnd = (dotNetObject "System.Windows.Forms.NativeWindow").FromHandle thePtr