---
name: "PathSetDlgItemPathA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/PathSetDlgItemPathA"
---

# PathSetDlgItemPathA(3w)

## NAME

**PathSetDlgItemPathA** (SHLWAPI.@)

## SYNOPSIS

VOID PathSetDlgItemPathA\
  (\
   HWND   *hDlg*,\
   int    *id*,\
   LPCSTR *lpszPath*\
  )

## DESCRIPTION

Set the text of a dialog item to a path, shrinking the path to fit if it is too big for the item.

## PARAMS

*hDlg* **\[In\]**  Dialog handle.

*id* **\[In\]**  Id of item in the dialog.

*lpszPath* **\[In\]**  Path to set as the items text.

## RETURNS

Nothing.

## NOTES

If *lpszPath* is **NULL**, a blank string ("") is set (i.e. The previous window text is erased).

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/path.c"**.

Debug channel **"shell"**.
