I've tried various ways to display the content of output in a message box but it keeps displaying a message box with garbage printed. This is what I have after some point.
Code:string output = "Left button is clicked"; MessageBox(hwnd, reinterpret_cast<const char *>(&output), "Mouse Event", MB_OK);