Click here to Skip to main content
15,885,933 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Give some application programs using VC++ and MFC for the beignner.
Posted
Comments
Jochen Arndt 20-Dec-12 4:17am    
Google not working today? Try it with 'c++ mfc tutorial'.
CPallini 20-Dec-12 4:51am    
5.
Member 10543087 10-Apr-14 4:02am    
You must know for every beginner how search
in google after mfc and found this comment

He should kill you son of an idiot, becaus in
every f***ing form is the same comment after the question.

So when you writting next time such an comment think on my replay
you ... .
Jochen Arndt 10-Apr-14 6:16am    
What is your problem?

Why do you get upset by my comment? It is the best answer that can be given to such a poor formulated question. You may blame the questioner but not me.

Hey man,

The Bestsite for VC++ and MFC is:
codeproject
codeguru
functionx
codersource.net.



Example for MFC.(SDI)

class myframe : public CFrameWnd
{
public:
myframe()
{
Create("Test","myframe");
}
void OnPaint()
{

}
DECLARE_MESSAGE_MAP()
};


BEGIN_MESSAGE_MAP(myframe,CFrameWnd)
ON_WM_ONPAINT()
END_MESSAGE_MAP()

class myapp : public CwinApp
{
public:
BOOL initInstance()
{
myframe* p;
p=new myframe;
m_pMainWnd=p;
p->Showwindow(1);

return TRUE;
}

};

myapp a;
 
Share this answer
 
You can wisely use Google for that. Another resource is MSDN itself: "MFC Samples"[^].
 
Share this answer
 
Comments
Albert Holguin 20-Dec-12 17:48pm    
Or... CodeProject.com... I hear it's a good site... ;)
CPallini 20-Dec-12 17:59pm    
Never heard about. I do know Stack Overflow, of course...
:-D
Albert Holguin 20-Dec-12 18:03pm    
Ha!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900