Frame... example for C++ 5.0 and later

This example sets the control's frame properties. For example purposes, both inner and outer bands are turned on. However, normal three-dimensional effects use inner bands or outer bands, but not both.

m_LEADRasterView1.SetAutoRepaint(FALSE);
m_LEADRasterView1.SetFrameThickness(2);
m_LEADRasterView1.SetFrameColor(RGB(0, 0, 0));
m_LEADRasterView1.SetFrameInnerStyle(EFX_INNERSTYLE_INSET);
m_LEADRasterView1.SetFrameOuterStyle(EFX_OUTERSTYLE_RAISED);
m_LEADRasterView1.SetFrameInnerHiliteColor(RGB(255, 255, 0));   // Yellow
m_LEADRasterView1.SetFrameInnerShadowColor(RGB(128, 128, 128)); // Dark Gray
m_LEADRasterView1.SetFrameOuterHiliteColor(RGB(255, 0, 0));     // Red
m_LEADRasterView1.SetFrameOuterShadowColor(RGB(192, 192, 192)); // Light Gray
m_LEADRasterView1.SetFrameInnerThickness (3);
m_LEADRasterView1.SetFrameOuterThickness (3);
m_LEADRasterView1.SetAutoRepaint(TRUE);