AWind
IDialogClosedEventReceiver Class Referenceabstract

Interface that provides dialog closed notifications (user closes dialog window, by pressing OK or cancel button). If you want receive notification this notification you need derive you dialog class from interface class and implement NotifyDialogClosed member function. More...

#include <IDialogClosedEventReceiver.h>

Inheritance diagram for IDialogClosedEventReceiver:
MainWindow Dialogs GaugesWindow Oscilloscope TextExampleWindow ViewModusWindow WindowSelector wnd_info

Public Types

enum  DialogResults { OK, Cancel }
 

Public Member Functions

virtual void NotifyDialogClosed (Window *window, DialogResults results)=0
 Has to be implemented in target class. More...
 

Detailed Description

Interface that provides dialog closed notifications (user closes dialog window, by pressing OK or cancel button). If you want receive notification this notification you need derive you dialog class from interface class and implement NotifyDialogClosed member function.

Member Function Documentation

virtual void IDialogClosedEventReceiver::NotifyDialogClosed ( Window window,
DialogResults  results 
)
pure virtual

Has to be implemented in target class.

Parameters
windowpointer to dialog
resultsdefines how dialog was closed with OK or Cancel

Implemented in MainWindow.


The documentation for this class was generated from the following file: