MFC Dialog 2

Screen Coordinate and Client Coordinate

Programmers need to understand that there are two coordinate systems in MFC.

Screen Coordinates

Client Coordinates

Embedding Dialog

You can embed a dialog into a view or another dialog.

Embedded Dialog onto view

Steps to Embed a Dialog onto a View

  1. Open the Properties tab and set the Border property to None.

  2. Set the Style property to Child. By doing this, the dialog will appear as a child of the parent dialog or view.