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

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

5 Answers   Dover,


Tell us something about MFC?

7 Answers   Microsoft,


What is the range of intensity of RGB

1 Answers  


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

11 Answers   Infosys,


1)How to change a text of a button as Dynamically?

1 Answers   HCL,






What is serialization ?which function is responsible for serializing data ?

5 Answers  


What is LoadLibrary function returns?

7 Answers  


Does the application have more than one object? If no, then what is the reason?

5 Answers  


How we call a dialog in another dialog?

2 Answers  


2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers

0 Answers   TCS,


How many types of dialog box are their

10 Answers   Honeywell,


What is the difference between regular dlls and extended dlls?

2 Answers  


Categories