This document is archived and information here might be outdated.  Recommended version.


IActiveView.OnMessage Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IActiveView.OnMessage Method

Call from your application's message loop to enable automatic resizing and keyboard accelerators.

[Visual Basic .NET]
Public Sub OnMessage ( _
    ByVal msg As Integer, _
    ByVal wParam As Integer, _
    ByVal lParam As Integer _
)
[C#]
public void OnMessage (
    uint msg,
    uint wParam,
    int lParam
);
[C++]
HRESULT OnMessage(
  Unsigned long msg,
  Unsigned long wParam,
  long lParam
);
[C++]

Parameters msg [in] msg is a parameter of type Unsigned long wParam [in] wParam is a parameter of type Unsigned long lParam [in] lParam is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IActiveView Interface