CMFCDesktopAlertDialog Class
The CMFCDesktopAlertDialog class is used together with the CMFCDesktopAlertWnd Class to display a custom dialog in a popup window.
class CMFCDesktopAlertDialog : public CDialogEx
Name |
Description |
---|---|
|
|
|
|
|
|
(Overrides CDialogEx::PreTranslateMessage.) |
Perform the following steps to display a custom dialog in a popup window:
Derive a class from CMFCDesktopAlertDialog.
Create a child dialog template in the resources of the project.
Call CMFCDesktopAlertWnd::Create with the resource ID of the dialog template and a pointer to the runtime class information of the derived class as parameters.
Program the custom dialog to handle all notifications that are coming from the hosted controls, or program the hosted controls to handle these notifications directly.
Header: afxDesktopAlertDialog.h