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

How to find the mouse entering an image?..while entering need to display next image...

4 Answers  


Why Array Index starts from Zero

30 Answers   HCL,


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

5 Answers  


what if we provide two message handler for same message ?

1 Answers  


What is #progma and where it is used?

5 Answers   L&T,






What is the difference between GetMessage and PeekMessage ?

3 Answers  


What MFC base classes provide support for ActiveX controls?

2 Answers   Wipro,


What is the difference between the ASSERT and VERIFY macros?

4 Answers  


I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?

1 Answers  


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

2 Answers  


What function is called by a document class to notify views that the document has been changed?

2 Answers  


What function is used to retrieve the currently selected index in a list box?

2 Answers  


Categories