What is subclassing?

Answers were Sorted based on User's Feedback



What is subclassing?..

Answer / sonali dongare

Subclassing is a technique that allows an application to
intercept and process messages sent or posted to a
particular window before the window has a chance to process
them. This is typically done by replacing the Window
Procedure for a window with application-defined window
procedure. I will devide this article into 3:

Subclassing in SDK programs,
Subclassing in MFC programs,
Reflected messages

Is This Answer Correct ?    21 Yes 1 No

What is subclassing?..

Answer / somu

Subclassing is a standard technique in Windows programming
for customizing the behavior of a window. MFC wrap
subclassing into virtual function overriding.

Is This Answer Correct ?    15 Yes 5 No

Post New Answer

More MFC Interview Questions

What is the difference between Extension DLL and Regular DLL?

6 Answers   GE,


Which CPrintInfo member variable must be set for multiple page printouts?

1 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,


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

5 Answers  


19)how to set Back Ground Picture to a Dialog Box in MFC ?

1 Answers  






How to handle RTTI in MFC ?

1 Answers  


What is the difference between the ASSERT and VERIFY macros?

4 Answers  


What is the difference between Synchronous sockets and asynchronous sockets?

2 Answers  


how to give colour for dialog button or static buuto?any one explain full code ?pls pls

3 Answers  


visual Pogramming c++ coding for create a paint application.. (Please someone help me)

2 Answers  


how can u change button shape at run time

3 Answers   Samsung,


What is the difference between OnInitialUpdate and OnUpdate?

5 Answers  


Categories