case WM_COMMAND:
{
  switch (SHORT1FROMMP (First_parameter)) 
  {
    case BTN_ID_YES:
      WinDismissDlg (Window, 1);
    return 0;

    case BTN_ID_NO:
      WinDismissDlg (Window, 0);
    return 0;
  }
}

return 0;