This function is the default dialog procedure for the font dialog.

#define INCL_winstdfont
#include <os2.h>

HWND       hwnd;       /*  Dialog-window handle. */
ULONG      msg;        /*  Message identity. */
MPARAM     mp1;        /*  Parameter 1. */
MPARAM     mp2;        /*  Parameter 2. */
MRESULT    mresReply;  /*  Message-return data. */

mresReply = WinDefFontDlgProc(hwnd, msg, mp1,
              mp2);


[Back] [Next]