就是按钮的消息响应代码将该怎么写

解决方案 »

  1.   

    ShellExecute(this->m_hWnd,"open",
        "http://www.google.com","","", SW_SHOW );
      

  2.   

    添加事件即可,你用的是VC6还是vs
      

  3.   

    不行啊,只能启动IE,地址栏中为空白,不能跳到google
      

  4.   

    ShellExecute(this->m_hWnd,"open",
    "http://www.baidu.com","","", SW_SHOW );
    我刚试了,可以的
      

  5.   


    ShellExecute(NULL, NULL, _T("http://www.baidu.com"), NULL, NULL, SW_SHOWNORMAL);
    用ShellExecute函数应该可以的~
      

  6.   

    ShellExecute(NULL,NULL,_T("iexplore"), _T("http://www.baidu.com"),NULL, SW_SHOWMAXIMIZED);
    这个再试一下,不行,,可能你机子有什么问题。