Hi, I would like to make a chat window in C++ 2010, so that you can type all you want,and when you press enter, it will send it, but first I would like the MessageBox please. I don't want code, I am doing the Windows forms application.
Thanks!
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Summary for Form1
/// </summary>
public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~Form1()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::NotifyIcon^ notifyIcon1;
protected:
private: System::Windows::Forms::RichTextBox^ richTextBox1;
private: System::Windows::Forms::CheckBox^ checkBox1;
private: System::Windows::Forms::Timer^ Durationtimer1;
private: System::ComponentModel::IContainer^ components;