🔍
🏠
Stack Overflow
🎲
Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
When should we override WindowProc and when should we override DefWindowProc?
Asked
Jul 20 '18 at 04:20
Active
Jul 20 '18 at 05:06
Viewed
132 times
0
My doubt is that,
in what all situations we should override
WindowProc
?
in what all situations we should override
DefWindowProc
?
Environment: VC++, MFC
windows-messages
edited
Jul 20 '18 at 05:06
TuneFanta
asked Jul 20 '18 at 04:20
TuneFanta
157
2
10
What platform are you using? In WPF ideally never. In WinForms most WindowProc functionality is provided for you, ditto MFC.
–
Dai
Jul 20 '18 at 04:24
It is VC++. Question is updated.
–
TuneFanta
Jul 20 '18 at 04:27
Are you using MFC or another Win32 wrapper like WTL or WFC, or using Win32's C-style API directly?
–
Dai
Jul 20 '18 at 04:48
I am using MFC.
–
TuneFanta
Jul 20 '18 at 05:06
0 Answers
0