1)At run-time, you can change the icon by calling the
LoadIcon() function?
Answers were Sorted based on User's Feedback
Answer / naresh challa
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
HICON hIcon=LoadIcon(NULL,IDI_QUESTION);
SetIcon(hIcon,FALSE);
}
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 106743013743
Hi,
int Ctharam::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
HICON hIcon = LoadIcon(AfxGetResourceHandle(),
(LPCTSTR)IDI_ICON9);
SetIcon(hIcon,FALSE);
}
Try it, I hope that i might be helpful to You
Code by Ctharam
Is This Answer Correct ? | 0 Yes | 2 No |
what is the use of CCmdTarget?
What function is used to retrieve the currently selected index in a list box?
visual Pogramming c++ coding for create a paint application.. (Please someone help me)
What are the advantages of using Doc/View or SDI over DialogBox
In VC++ How to transfer between one exe to another exe while running..
what do you mean by psychic window?
What view class enables you to use an edit control as a view?
What is the base class for MFC
What is the size of class
What is the difference between ASSERT and VERIFY?
what is the difference between compiling and building?
What is mfc class hierarchy?