TFlatPainter

Back Up Next

TFlatPainter

Header File
    <owl/flatctrl.h>

Description
    Base class for Flat Look support

Public Functions:
    void SetFlatStyle(bool flat=true);
    bool GetFlatStyle();
Protected Functions:
    virtual bool IsFlat();
    virtual void Paint(TDC& dc, TRect& rect);
    virtual bool IdleAction(long idleCount);

    enum TState{
        fpFlatLook= 0x0001,
        fpMouseIn = 0x0002,
    };

 

Revised: February 08, 2000.