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