1)does Frame Thickness in MFC?



1)does Frame Thickness in MFC?..

Answer / 106743013743

Use WS_THICKFRAME

ex1:-

BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE|
WS_THICKFRAME;

}

Ex2 :-

BOOL Ctharam::PreCreateWindow(CREATESTRUCT& cs)
{
cs.style &= ~(WS_MAXIMIZEBOX|WS_THICKFRAME);
}


try it, you can opt

code by Ctharam

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More MFC Interview Questions

Psychic Window Technique

2 Answers   E Logic, Wild Net,


Tell me the different controls in MFC ?

5 Answers  


Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?

2 Answers   Sony,


Tell us something about MFC?

7 Answers   Microsoft,


what is the use of CWinApp class?

3 Answers   Mphasis,






What is #progma and where it is used?

5 Answers   L&T,


how do u identify RTTI in vc++

4 Answers   Siemens,


What is CArchive class dowes?

4 Answers  


What is document-view architecture ? Give me one real time example for SDI ?

2 Answers  


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

1 Answers   HCL,


how can u change button shape at run time

3 Answers   Samsung,


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

5 Answers   Dover,


Categories