# 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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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)                 |                                              |

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)ActionType

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Handled

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)HasReturnValue

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)hWnd

[SalWindowHandle](https://desktop-api.iceteagroup.com/ppj.runtime.49/general/ppj.runtime.windows.windowactionseventargs): Returns the target window handle.

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)LParam

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Return

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)WParam

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