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 access document object from view ?

1 Answers  


what is the component of CLR ?

8 Answers   AZTEC, Symphony,


In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?

2 Answers   Wipro,


What is the base class for most MFC classes?

7 Answers   CMC, Siemens,


How many types of combo box are their

2 Answers   Aaditya Info Solutions, E Logic,






1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


Explain about MDI and CMultiDocTemplate ?

2 Answers  


plzz tell me what we can do and dont in tally ERP & sap business one?

0 Answers  


Do you have an idea about MFC?

0 Answers   C DAC, CDAC,


What is the difference between Synchronous sockets and asynchronous sockets?

2 Answers  


What is difference between the TCP/IP and UDP socket

5 Answers   Invensys,


Tell me the different controls in MFC ?

5 Answers  


Categories