我爱Aspx >> Asp.Net >> webservice系列教学(12)-如何调用webservice(vc3)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;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////
Ҷƪл˵?
webservice系列教学(11)-如何调..[05-28]
webservice系列教学(10)-如何调..[05-28]
webservice系列教学(9)-如何调..[05-28]
webservice系列教学(8)-如何调..[05-28]
webservice系列教学(7)-如何调..[05-28]
webservice系列教学(6)-如何调..[05-28]
webservice系列教学(5)-如何调..[05-28]
webservice系列教学(4)-如何调..[05-28]
webservice系列教学(3)-如何调..[05-28]
webservice系列教学(2)[05-28]
webservice系列教学(11)-如何调..[05-28]
webservice系列教学(10)-如何调..[05-28]
webservice系列教学(9)-如何调..[05-28]
webservice系列教学(8)-如何调..[05-28]
webservice系列教学(7)-如何调..[05-28]
webservice系列教学(6)-如何调..[05-28]
webservice系列教学(5)-如何调..[05-28]
webservice系列教学(4)-如何调..[05-28]
webservice系列教学(3)-如何调..[05-28]
webservice系列教学(2)[05-28]