laptop and a wrench

不具合

ToolControl disappears if MsgBox MessageBox.Show is called at any time by another .NET Commandor

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM003925
送信されましたAugust 22, 2006
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.1
プログラム言語VB.Net
ステータスWill Not Be Addressed

参考情報

No Public Explanation

対処法

Workaround: -> NEEDS TO BE DOCUMENTED ************************************* This problem can be fixed with the following workaround and this workaround needs to be documented (maybe under IToolControl). The solution is to pass the application window handle to the call of MessageBox using Win32 API function directly. Try this (C# code): [ DllImport(“User32.dll”, EntryPoint=”MessageBox”, CharSet=CharSet.Auto)] public static extern int MsgBox(int hWnd, String text, String caption, uint type); Then make a call using the imported method passing the application window handle: MsgBox(m_app.hWnd, “Test box”, “”, 0); VB.NET <DllImport("User32.DLL", EntryPoint:="MessageBox", CharSet:=CharSet.Auto)> _ Public Shared Function MBox(ByVal hWnd As Integer, ByVal pCaption As String, ByVal pType As UInt32) As Integer End Function OR Declare Auto Function MBox Lib "user32.dll" _ Alias "MessageBox" (ByVal hWnd As Integer, ByVal txt As String, ByVal caption As String, ByVal Typ As Integer) As Integer Now call the function: MBox(Me.m_pApplication.hWnd, "Testing", "Caption", 0)

再現の手順

不具合 ID: NIM003925

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動