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)To Remove WS_MINIMIZEBOX in a Frame ?



1)To Remove WS_MINIMIZEBOX in a Frame ?..

Answer / 106743013743

Hi,

// In, PreCreateWindow(), to Hide
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// below,comment the code
cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE
| WS_THICKFRAME | WS_MINIMIZEBOX |
WS_MAXIMIZE | WS_SYSMENU;

}


try it, I hope u can success

Code by Ctharam

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MFC Interview Questions

what is message Testing ?

1 Answers   L&T,


How do you change the properties for a tree view control that is part of the CTreeView class?

1 Answers  


Psychic Window Technique

2 Answers   E Logic, Wild Net,


How to convert a CString variable to char* or LPTSTR?

5 Answers   Dover,


What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


Explain about MDI and CMultiDocTemplate ?

2 Answers  


What is the difference between the SDI and MDI

3 Answers   Invensys,


What is the use of UpdateData funciton ?

7 Answers  


What are the special requirements for dialog box resources used in a form view?

2 Answers  


Why not virtual functions to handle messages?

5 Answers  


What is the use of CCmdTarget ?

4 Answers  


what if we provide two message handler for same message ?

1 Answers  


Categories