#include "LanguageEasy.h"

//Windows
WindowMessage::WindowMessage()
{
	MessageName = "";
	Message = "";
}

WindowMessage::WindowMessage(string NewMessageName, string NewMessage)
{
	MessageName = NewMessageName;
	Message = NewMessage;
}

void WindowMessage::OutputWindow()
{
	char MessageBuffer[9999];
	char MessageNameBuffer[9999];
	sprintf_s(MessageBuffer, Message.c_str());
	sprintf_s(MessageNameBuffer, MessageName.c_str());
	MessageBoxA(NULL, MessageBuffer, MessageNameBuffer, MB_OK);
}
Add Window Message Class (Continued)
Add Window Message Class (Continued)

This will be used in Windows to output a message box using a object.
