struct CCL::IDialogButtonInterest

Overview

Callback interface to intercept dialog button presses. More…

#include <idialogbuilder.h>

struct IDialogButtonInterest: public CCL::IUnknown
{
    // methods

    virtual void CCL_API setDialogButton (IParameter* button, int which) = 0;
    virtual tbool CCL_API onDialogButtonHit (int which) = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Callback interface to intercept dialog button presses.

Methods

virtual void CCL_API setDialogButton (IParameter* button, int which) = 0

Called when the dialog button is created.

Needed to manage its enabled state.

virtual tbool CCL_API onDialogButtonHit (int which) = 0

Called when the dialog button is hit.

Return true to avoid default processing.