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

Have you ever used win32 APIs ?

4 Answers   Microsoft,


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

4 Answers  


what are the feauters of CObject

4 Answers   Siemens, Wipro,


How to handle dynamic menus in MFC?

3 Answers   HCL,


How can update edit control data of an executing application from other application?

3 Answers   HP,


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

2 Answers   Siemens,


What is a message map?

1 Answers   Mphasis,


Whats is DDX & DDV in MFC?

1 Answers   HCL,


is there any class which is not derived from Cobject

11 Answers   Patni,


Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer

1 Answers   TCS, Tech Mahindra,


Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer

7 Answers   HP,


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

1 Answers  


Categories