• λ我爱Aspx >> Asp.Net >> webservice系列教学(12)-如何调用webservice(vc3)
  • webservice系列教学(12)-如何调用webservice(vc3)

  • :aspxer  Դ:internet  :2007-5-28 20:38:07  ؼ:web,webservice
  • void CMClientDlg::OnPaint()

    {

    if (IsIconic())

    {

    CPaintDC dc(this); // device context for painting

    SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);

    // Center icon in client rectangle

    int cxIcon = GetSystemMetrics(SM_CXICON);

    int cyIcon = GetSystemMetrics(SM_CYICON);

    CRect rect;

    GetClientRect(&rect);

    int x = (rect.Width() - cxIcon + 1) / 2;

    int y = (rect.Height() - cyIcon + 1) / 2;

    // Draw the icon

    dc.DrawIcon(x, y, m_hIcon);

    }

    else

    {

    CDialog::OnPaint();

    }

    }

    // The system calls this to obtain the cursor to display while the user drags

    // the minimized window.

    HCURSOR CMClientDlg::OnQueryDragIcon()

    {

    return (HCURSOR) m_hIcon;

    }

    /////////////////////////////////////////////////////////////////////////////////////////////////////////

    Ҷƪл˵?
  • һƪ在你的服务器端代码中使用线程和创建异步处理(3)
    һƪwebservice系列教学(11)-如何调用webservice(vc2)