This example uses the default dialog procedure for the font dialog to cause default processing of unprocessed dialog messages.
#define INCL_WINSTDFONT /* Window Standard Font Functions */ #include <os2.h> MRESULT MyFontDlgProc(HWND hwnd, ULONG msg, MPARAM mpParam1, MPARAM mpParam2) { switch(msg) { /**************************************************************/ /* Process user-supported messages */ /**************************************************************/ . . . default: return (WinDefFontDlgProc(hwnd, msg, mpParam1, mpParam2)); } }