Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


1)At run-time, you can change the icon by calling the
LoadIcon() function?

Answers were Sorted based on User's Feedback



1)At run-time, you can change the icon by calling the LoadIcon() function?..

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

1)At run-time, you can change the icon by calling the LoadIcon() function?..

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

Post New Answer

More MFC Interview Questions

what is functioning of DIalodDataXchange ..?

0 Answers  


How to access document object from view ?

1 Answers  


what is the use of CCmdTarget?

4 Answers   Siemens,


what is the use of AFX_MANAGE_STATE ?

4 Answers   HCL,


visual Pogramming c++ coding for create a paint application.. (Please someone help me)

2 Answers  


what is message loop how mfc does it internally?

4 Answers   Aspire,


what if we provide two message handler for same message ?

1 Answers  


What is the difference between the ASSERT and VERIFY macros?

4 Answers  


What is LPCTSTR? What does LP denote it?

4 Answers  


What is LoadLibrary function returns?

7 Answers  


What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example

6 Answers  


How many types of combo box are their

2 Answers   Aaditya Info Solutions, E Logic,


Categories