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);