Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example sets the active cell highlight style.

C++

// Set the highlight style for the active cell

spr->SetActiveCellHighlightStyle(0);

or

CWnd *pWndSpr = (CWnd*)GetDlgItem(IDC_SPREAD);

HWND hWndSpr = (HWND)pWndSpr->m_hWnd;

SSSetActiveCellHighlightStyle(hWndSpr, 0);

// The following example gets the active cell highlight style.

WORD w;

char buf[10];

w = spr->GetActiveCellHighlightStyle();

itoa(w, (LPSTR)buf, 10);

AfxMessageBox(buf);

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.