设为首页 加入收藏

TOP

Windows Sockets 1.1应用实例(四十八)
2010-12-30 20:58:11 来源: 作者: 【 】 浏览:62299
Tags:Windows Sockets 1.1 应用 实例
ShoutWndProc(HWND hWnd, WORD message,WORD wParam, LONG lParam)

{

    FARPROC lpDialogBoxProc;

 

    switch (message){

       case WM_CREATE:

          

           /* Put up the dialog box */

           lpDialogBoxProc = MakeProcInstance(DialogProc, hInst);

           DialogBox (hInst, (LPSTR) "MainDialog", hWnd, lpDialogBoxProc) ;

           FreeProcInstance(lpDialogBoxProc);

           PostMessage(hWnd, WM_DESTROY, 0, 0L);

           break;

          

       case WM_DESTROY:

         &nb

首页 上一页 45 46 47 48 49 50 51 下一页 尾页 48/143/143
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Windows Socket 1.1库函数概览 下一篇Windows Sockets 1.1编程

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: