> For the complete documentation index, see [llms.txt](https://desktop-api.iceteagroup.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://desktop-api.iceteagroup.com/ppj.runtime.49/general/ppj.runtime.windows.windowactionseventargs.md).

# WindowActionsEventArgs

Namespace: **PPJ.Runtime.Windows**

Assembly: **PPJ.Runtime.49** (4.9.0.0)

Arguments for the WindowActionsEvent.

{% tabs %}
{% tab title="C#" %}

```csharp
public class WindowActionsEventArgs : EventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class WindowActionsEventArgs
    Inherits EventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowActionsEventArgs(ctrl, msg, wParam, lParam)

Constructs a new SalMessage object.

| Name       | Type                                                                                | Description                                  |
| ---------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**   | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |
| **msg**    | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)                   |                                              |
| **wParam** | [IntPtr](https://docs.microsoft.com/en-us/dotnet/api/system.intptr)                 |                                              |
| **lParam** | [IntPtr](https://docs.microsoft.com/en-us/dotnet/api/system.intptr)                 |                                              |

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowActionsEventArgs(hWnd, msg, wParam, lParam)

Constructs a new SalMessage object.

| Name       | Type                                                                | Description |
| ---------- | ------------------------------------------------------------------- | ----------- |
| **hWnd**   | [IntPtr](https://docs.microsoft.com/en-us/dotnet/api/system.intptr) |             |
| **msg**    | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   |             |
| **wParam** | [IntPtr](https://docs.microsoft.com/en-us/dotnet/api/system.intptr) |             |
| **lParam** | [IntPtr](https://docs.microsoft.com/en-us/dotnet/api/system.intptr) |             |

## Properties

### ![](/files/dBIrS7XBDGmrzmTRbSI6)ActionType

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Returns the message code.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Handled

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Returns/Sets the handled flag.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)HasReturnValue

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Returns true if the return value was set.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)hWnd

[SalWindowHandle](/ppj.runtime.49/general/ppj.runtime.windows.windowactionseventargs.md): Returns the target window handle.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)LParam

[IntPtr](https://docs.microsoft.com/en-us/dotnet/api/system.intptr): Returns the lParam associated with the message.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Return

[SalNumber](/ppj.runtime.49/general/ppj.runtime.windows.windowactionseventargs.md): Message return value. When set, the flag HasReturnValue is also flipped to true.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WParam

[IntPtr](https://docs.microsoft.com/en-us/dotnet/api/system.intptr): Returns the wParam associated with the message.
