// UpdateTextCtrl.h: interface for the CUpdateTextCtrl class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_UPDATETEXTCTRL_H__B4E9974E_57C9_441D_BEE8_7E3EE2583691__INCLUDED_)
#define AFX_UPDATETEXTCTRL_H__B4E9974E_57C9_441D_BEE8_7E3EE2583691__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifdef  BUILD_GUIDLL
#define     DLLCLASS    __declspec(dllexport)
#else
#define     DLLCLASS    __declspec(dllimport)
#endif

class DLLCLASS CUpdateTextCtrl
{
public:
//  default constructor
    CUpdateTextCtrl(HWND hWnd = NULL, int nID = -1);

//  set dialog box window handler
    void SetHWND(HWND hWnd);

//  set the text of text control
    void SetTextCtrlText(LPCTSTR lpszString, int nID = -1, HWND hWnd = NULL);

    HWND m_hWnd;  // window handler of dialog box
    HWND m_hCtrl; // window handler of text control
    int  m_nID;   // text control Id
};

#endif // !defined(AFX_UPDATETEXTCTRL_H__B4E9974E_57C9_441D_BEE8_7E3EE2583691__INCLUDED_)
