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 KIND // BitBtn kind. Corresponding ModalResult will be send to parent modal form 
    {
        bkAbord,
        bkAll,
        bkCancel,
        bkClose,
        bkHelp, // This kind do not close modal form and perform any actions 
        bkIgnore,
        bkNo,
        bkOk,
        bkRetry,
        bkYes
    };
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