Multiple choice technology programming languages

which is the Parent class of CWinApp?

  1. CWnd

  2. CFrameWnd

  3. CObject

  4. CWinThread

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In MFC hierarchy, CWinApp derives from CWinThread. CWinThread handles message loops and thread management. CObject is the ultimate base, CFrameWnd derives from CWnd, and CWinApp/CWinThread are parallel branches from CObject.