To make it as the C# example then we need to use MFC projects
in VS2010. Do you know MFC?
What is MFC?
MFC stands for Microsoft Foundation Class Library and is created by Microsoft
it is meant to make Windows Application development much easier for Windows
Developers.
To learn more check these tutorials:
http://www.tenouk.com/cplusplusnmfc.html
http://www.codeproject.com/KB/MFC/FormView.aspx
Itknowledge24.com