# VisDesktopListBox

Namespace: **PPJ.Runtime.Vis**

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

Displays directory tree in a list box similar to Win95

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

```csharp
public class VisDesktopListBox : VisOutlineListBox
```

{% endtab %}

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

```visual-basic
Public Class VisDesktopListBox
    Inherits VisOutlineListBox
```

{% 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)VisDesktopListBox()

Default Constructor.

## Methods

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

Returns the control associated with the handle.

| Parameter  | Type                                                                                                                 | Description |
| ---------- | -------------------------------------------------------------------------------------------------------------------- | ----------- |
| **handle** | [SalWindowHandle](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visdesktoplistbox) |             |

**Returns:** [VisDesktopListBox](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visdesktoplistbox).

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

Retrieves directory for specified item handle.

| Parameter | Type                                                                                                           | Description |
| --------- | -------------------------------------------------------------------------------------------------------------- | ----------- |
| **hItem** | [SalNumber](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visdesktoplistbox) |             |

**Returns:** [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visdesktoplistbox).

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

Returns the full path of the selected directory.

**Returns:** [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visdesktoplistbox).

## Implements

| Name                                                                                                                 | Description |
| -------------------------------------------------------------------------------------------------------------------- | ----------- |
| [ISalControl](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visdesktoplistbox)     |             |
| [ISalListControl](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visdesktoplistbox) |             |
| [ISalWindow](https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.visdesktoplistbox)      |             |
