This document is archived and information here might be outdated. Recommended version. |
Gets the Windows Handle (hWnd) of the ArcGIS Desktop application that is currently running. Note: If you need a Windows Handle for a custom application use System.Runtime.InteropServices.Marshal.GetHINSTANCE instead.
//<-- Snippet Start --> // DESCRIPTION: // Gets the Windows Handle (hWnd) of the ArcGIS Desktop application that is currently // running. Note: If you need a Windows Handle for a custom application use // System.Runtime.InteropServices.Marshal.GetHINSTANCE instead. int hWnd=m_application.hWnd; //<-- Snippet End -->
'<-- Snippet Start --> ' DESCRIPTION: ' Gets the Windows Handle (hWnd) of the ArcGIS Desktop application that is currently ' running. Note: If you need a Windows Handle for a custom application use ' System.Runtime.InteropServices.Marshal.GetHINSTANCE instead. Dim hWnd As Integer=m_application.hWnd '<-- Snippet End -->