Code:
case CM_FILE_NEW:
               DoFileOpenSave(hwnd, FALSE);
               break;

what's wrong with this code for the open command