#pragma once #include "common.h" class T2SerialDialog : public CDialog { public: T2SerialDialog(CWnd *parent); void GetSerial(char *buf); DECLARE_MESSAGE_MAP(); protected: virtual void DoDataExchange(CDataExchange *pDX); virtual void OnOK(); virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); void OnPaint(); CString mStrings[4]; };