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 the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


What is the size of class

18 Answers   Aircom,


1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions

1 Answers  


1)How to load an icon on a button as Dynamically ?

1 Answers   HCL,


How can i implement the dynamic menus in MFC plz give the code

2 Answers  






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

2 Answers  


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

2 Answers  


Hi can anyone explain about the synchronization objects types and where we are using in the code.

1 Answers  


what do you mean by psychic window?

2 Answers   Patni,


what is message Testing ?

1 Answers   L&T,


1)dynamic creation of a Button ?

2 Answers   TCS,


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


Categories