1)To Remove WS_MINIMIZEBOX in a Frame ?



1)To Remove WS_MINIMIZEBOX in a Frame ?..

Answer / 106743013743

Hi,

// In, PreCreateWindow(), to Hide
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// below,comment the code
cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE
| WS_THICKFRAME | WS_MINIMIZEBOX |
WS_MAXIMIZE | WS_SYSMENU;

}


try it, I hope u can success

Code by Ctharam

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MFC Interview Questions

What is the base class for MFC

3 Answers   HCL,


what if we provide two message handler for same message ?

1 Answers  


What is the difference between the ASSERT and VERIFY macros?

4 Answers  


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,


Tell me about different kinds of synchranization objects ?

6 Answers  






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,


What is the use of CCmdTarget ?

4 Answers  


what are the feauters of CObject

4 Answers   Siemens, Wipro,


What is the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.

3 Answers   ABC, HCL, Infosys,


how does the UIThread and worker thread communicates and handle events

2 Answers   HCL,


What is a critical section and how is it implemented?

2 Answers  


Categories