Multiple choice technology programming languages

To give "physical" presence to the frame of an application, you should declare which method?

  1. BeginPaint()

  2. OnFrame()

  3. OnCreate()

  4. CreateFrame()

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

OnCreate() is the method that gives physical presence to a frame in MFC applications. It's called when the frame is being created and is where you should perform initialization that requires the window to exist. BeginPaint() is for painting, OnFrame() and CreateFrame() are not standard MFC methods.