Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 964 Bytes

creating-modeless-dialog-boxes.md

File metadata and controls

14 lines (11 loc) · 964 Bytes
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Creating Modeless Dialog Boxes
Creating Modeless Dialog Boxes
11/04/2016
MFC dialog boxes [MFC], modeless
modeless dialog boxes [MFC], creating
MFC dialog boxes [MFC], creating
70d78c7f-3d40-477b-9f78-0f33c359f88b

Creating Modeless Dialog Boxes

For a modeless dialog box, you must provide your own public constructor in your dialog class. To create a modeless dialog box, call your public constructor and then call the dialog object's Create member function to load the dialog resource. You can call Create either during or after the constructor call. If the dialog resource has the property WS_VISIBLE, the dialog box appears immediately. If not, you must call its ShowWindow member function.

See also

Working with Dialog Boxes in MFC