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

What is socket?

3 Answers  


Whats is DDX & DDV in MFC?

1 Answers   HCL,


What MFC base classes provide support for ActiveX controls?

2 Answers   Wipro,


2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers

0 Answers   TCS,


1)How to change the size of a button at run time ?

1 Answers  






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

0 Answers   University Exams,


What function is used to disable a control at runtime?

7 Answers  


What is the difference between GetMessage and PeekMessage ?

3 Answers  


if i modified data in 1 view how does the other view knows

2 Answers   Siemens,


What are the advantages of using Doc/View or SDI over DialogBox

2 Answers  


What is the difference between Synchronous sockets and asynchronous sockets?

2 Answers  


How many types of combo box are their

2 Answers   Aaditya Info Solutions, E Logic,


Categories