This dialog allows the user to select a font.
#define INCL_winstdfont #include <os2.h> HWND hwndP; /* Parent-window handle. */ HWND hwndO; /* Requested owner-window handle. */ PFONTDLG pfntd; /* Pointer to an initialized FONTDLG structure. */ HWND hwnd; /* Font dialog window handle. */ hwnd = WinFontDlg(hwndP, hwndO, pfntd);