Windows Sockets 1.1应用实例(七十七)

2010-12-30 20:58:11 · 作者: · 浏览: 63107
p;  break;

       }

 

    default:

       break;

    }

    return (FALSE);

}

 

void

CheckThisBoxOn(HWND hDlg, int ButtonID)

{

    switch (ButtonID) {

    case IDS_BLOCK:

       CheckDlgButton(hDlg, IDS_BLOCK, 1);

       CheckDlgButton(hDlg, IDS_NOBLOCK, 0);

       break;

    case IDS_NOBLOCK:

       CheckDlgButton(hDlg, IDS_BLOCK, 0);

       CheckDlgButton(hDlg, IDS_NOBLOCK, 1);

       break;

    default:

       break;

    }

    return;

}

 

void

CheckThisProtoBoxOn(HWND hDlg, int ButtonID)

{

&n