IBitBtn



Describes minimum required functionality from BitBtn control.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IBitBtn :public virtual IControl
{
public:
    enum class Kind // BitBtn kind. Corresponding ModalResult will be send to parent modal form 
    {
        Abord,
        All,
        Cancel,
        Close,
        Help, // This kind do not close modal form and perform any actions 
        Ignore,
        No,
        Ok,
        Retry,
        Yes
    };
public:
    virtual String getCaption() = 0; // Return caption 
    virtual Kind getKind() = 0; // Return kind 

    virtual bool setCaption(const String &value) = 0; // Set caption 
    virtual bool setKind(const Kind value) = 0; // Set kind 

    virtual void Click() = 0; // Emulate click 
};
Namespace: nitisa::standard
Include: Standard/Controls/IBitBtn.h