Click here to Skip to main content
15,867,488 members
Articles / Desktop Programming / ATL

Temperature Convert:An XML Web service Using ATL Server and MFC Client

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
6 Mar 20073 min read 53.4K   707   20  
An XML Web Service using ATL Server and Called by MFC Client
// TempConvertClientDlg.h : header file
//

#pragma once


// CTempConvertClientDlg dialog
class CTempConvertClientDlg : public CDialog
{
// Construction
public:
	CTempConvertClientDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_TEMPCONVERTCLIENT_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
    
	afx_msg void OnBnClickedC2F();
	afx_msg void OnBnClickedF2C();

// Implementation
protected:
	HICON m_hIcon;
	double m_dTempF;
	double m_dTempC;
	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnConvert();

	DECLARE_MESSAGE_MAP()
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
China China
I am favor to use C\C++,MFC,ATL,COM and JavaScript to program, and interesting in network security as well.In my spare time,I like playingbasketball,Climbing.I now live in Beijing,China.It is nice to go along the red walls around the Forbitten City.

Comments and Discussions