Class for button controls that notify the dialog about the click. More...
#include <ADMButton.h>
Inherits ADMButton.

Public Member Functions | |
| ADMNotifyButton () | |
| Default constructor. | |
| ADMNotifyButton (ADMItemRef control) | |
| Constructor for existing ADM buttons. | |
Protected Member Functions | |
| ADMNotifyButton (ADMItemRef control, bool bOwnerDraw) | |
| Constructor for existing owner-drawn ADM buttons. | |
| virtual bool | OnClick () |
| Called when the button is clicked; call parent dialog. | |
Class for button controls that notify the dialog about the click.
Definition at line 71 of file ADMButton.h.
| ADMNotifyButton::ADMNotifyButton | ( | ADMItemRef | control | ) | [inline] |
Constructor for existing ADM buttons.
| control | Reference to the ADM button control |
Definition at line 83 of file ADMButton.h.
| ADMNotifyButton::ADMNotifyButton | ( | ADMItemRef | control, | |
| bool | bOwnerDraw | |||
| ) | [inline, protected] |
Constructor for existing owner-drawn ADM buttons.
| control | Reference to the ADM button control | |
| bOwnerDraw | true for owner-drawn buttons, false for regular buttons |
Definition at line 90 of file ADMButton.h.
| bool ADMNotifyButton::OnClick | ( | ) | [protected, virtual] |
Called when the button is clicked; call parent dialog.
Implements ADMButton.
Definition at line 52 of file ADMButton.cpp.
References ADMBaseControl::m_refItem, and ADMBaseDialog::OnBtnClicked().
1.6.1