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

1)how to Display the File Dialog Box, in MFC ?

1 Answers  


How to handle command line arguements from simple MFC application ?

2 Answers   TCS,


what is the updated verssion in vc++

3 Answers   Aspect,


what message is sent to an application when the user presses the primary button?

0 Answers   University Exams,


how u can move CDC pointer to one line in cview?

2 Answers  






How to handle dynamic menus in MFC?

3 Answers   HCL,


1) How do you Destroy a Dialog Box ?

2 Answers   Honeywell,


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

5 Answers   Dover,


1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


What is the difference between workrer thread and UI thread

3 Answers   HCL,


how does conditionally close the Dialog Box ?

2 Answers   Infotech,


Why Array Index starts from Zero

30 Answers   HCL,


Categories