I have successfully managed to write a program which generates a messagebox but there is one PROBLEM on previewing; instead of "\\n" going to newline it appears visible on the messagebox, when i try "\n" it doesnot work. Please help me.

Works for me MessageBox(0,"Hello\nWorld","MyProgram",MB_OK);

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.