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

# SHSetDefaultDialogFont(3w)

## NAME

**SHSetDefaultDialogFont** (SHLWAPI.220)

## SYNOPSIS

HRESULT SHSetDefaultDialogFont\
  (\
   HWND *hWnd*,\
   INT  *id*\
  )

## DESCRIPTION

Set the Font for a window and the **"PropDlgFont"** property of the parent window.

## PARAMS

*hWnd* **\[In\]**  Parent Window to set the property.

*id* **\[In\]**  Index of child Window to set the Font.

## RETURNS

**Success:** **S\_OK**

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

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

Debug channel **"shell"**.
