---
title: "What are frames and CFrameWnd?"  
description: "What are frames and CFrameWnd?"  
author: "Anonymous User"  
published: 2012-08-17  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/1506/what-are-frames-and-cframewnd  
category: "visual c++"  
tags: ["visual c++", "c++", "c#", "mindstick", "interview question", "frames", "CFrameWnd"]  
reading_time: 1 minute  

---

# What are frames and CFrameWnd?

**Frames** contain view windows. Frame windows allow the user the capability to use status bars, toolbars, and splitters.

**CFrameWnd** contains the implementation to perform the function of a main window as wells as it keeps track of currently active view that is independent of Windows active window or input focus. It also provides the functionality of a Windows single document interface (SDI) overlapped. This is contained in **CFrameWnd** class.

For example:

**class** **CFrameWnd : public CWnd**

## Answers

### Answer by Anonymous User

**Frames** contain view windows. Frame windows allow the user the capability to use status bars, toolbars, and splitters.

**CFrameWnd** contains the implementation to perform the function of a main window as wells as it keeps track of currently active view that is independent of Windows active window or input focus. It also provides the functionality of a Windows single document interface (SDI) overlapped. This is contained in **CFrameWnd** class.

For example:

**class** **CFrameWnd : public CWnd**


---

Original Source: https://www.mindstick.com/interview/1506/what-are-frames-and-cframewnd

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
