これらの dotNetObjects は MaxCustomControls アセンブリにより実装され、主要な Win32 API 関数のいくつかにアクセスするためのメソッド(メッセージ送信、ウィンドウの上部寄せ、ウィンドウ ハンドラの DotNet ポインタとしてのラップなど)をもたらします。
dotNetObject 「MaxCustomControls.Win32API」
コンストラクタ:
MaxCustomControls.Win32API()
プロパティ:
.WM_KEYUP : <System.Int32>, read-only, static
メソッド:
.[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」
3ds Max 2015 で削除されました。
代わりに System.Windows.Forms.NativeWindow.FromHandle()
を使用します。
theHwnd = (dotNetObject "System.Windows.Forms.NativeWindow").FromHandle thePtr