ADMNotifyButton Class Reference

Class for button controls that notify the dialog about the click. More...

#include <ADMButton.h>

Inherits ADMButton.

Collaboration diagram for ADMNotifyButton:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Class for button controls that notify the dialog about the click.

Definition at line 71 of file ADMButton.h.


Constructor & Destructor Documentation

ADMNotifyButton::ADMNotifyButton ( ADMItemRef  control  )  [inline]

Constructor for existing ADM buttons.

Parameters:
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.

Parameters:
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.


Member Function Documentation

bool ADMNotifyButton::OnClick (  )  [protected, virtual]

Called when the button is clicked; call parent dialog.

Returns:
true to continue with the default handling, false to stop

Implements ADMButton.

Definition at line 52 of file ADMButton.cpp.

References ADMBaseControl::m_refItem, and ADMBaseDialog::OnBtnClicked().


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

Generated on Thu Dec 17 17:37:09 2009 for CCInfo PDF Plugin by doxygen 1.6.1