You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitlib.pub/MITLIB/GuiDLL/UpdateEditCtrl.h

35 lines
949 B
C++

// UpdateEditCtrl.h: interface for the CUpdateEditCtrl class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_UPDATEEDITCTRL_H__D25A0B02_1E90_4F5C_BACA_A2A5CBDB5BF9__INCLUDED_)
#define AFX_UPDATEEDITCTRL_H__D25A0B02_1E90_4F5C_BACA_A2A5CBDB5BF9__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 CUpdateEditCtrl
{
public:
// default constructor
CUpdateEditCtrl(HWND hWnd = NULL, int nID = -1);
// set dialog window handler
void SetHWND(HWND hWnd);
// set edit control text
void SetEditCtrlText(LPCTSTR lpszString, int nID = -1, HWND hWnd = NULL);
HWND m_hWnd; // dialog box window handler
int m_nID; // text control id
};
#endif // !defined(AFX_UPDATEEDITCTRL_H__D25A0B02_1E90_4F5C_BACA_A2A5CBDB5BF9__INCLUDED_)