ALXSoft

Utilities, source code, examples for programmers on Visual C ++

Home
News
ALXGrid Control
Samples
Documentation
Hierarchy of classes
Interface
Download
alxBASE library
Samples
Documentation
Download
DBFRead utility
Download
DBFNavigator utility
Download
IDXView utility
Download
MDXView utility
Download
NDXView utility
Download
NTXView utility
Download
NSXView utility
Download
Links

Russian version

Class CALXCellBorders
class CALXCellBorders
{
public:
    COLORREF m_crLeftBrdColor;   // Color of the left cell border
    COLORREF m_crTopBrdColor;    // Color of the top border
    COLORREF m_crRightBrdColor;  // Color of the right border
    COLORREF m_crBottomBrdColor; // Color of the bottom border
    BYTE    m_nOrderDraw;        // The order
drawn borders
// color of the right border should be equal color of the left border of the right cell
// color of the bottom border should be equal color of the top border of the bottom cell

// and on the contrary


    DrawBorders(CDC *pDC, CRect rc);
    DrawBorders(CDC *pDC, CRect rc,
                COLORREF crLeftBrdColor,
                COLORREF crTopBrdColor,
                COLORREF crRightBrdColor,
                COLORREF crBottomBrdColor,
                BYTE nOrderDraw);
};

   The supplementary class will be used for a define colour of cell item. The function of draw borders are contains.

   files ALXCellMetrics.h, ALXCellMetrics.cpp.

See also:

CALXCellMetrics

Alexey. E-mail: alxsoft@gazinter.net

Hosted by uCoz