SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
The GetCtlColors function retrieves the Print Preview control's color attributes.
C
void SftPrintPreview_GetCtlColors(HWND hwnd, LPSFTPRINTPREVIEW_COLORS lpColors);C++
void CSftPrintPreview::GetCtlColors(LPSFTPRINTPREVIEW_COLORS lpColors) const;hwnd
The window handle of the Print Preview control.
lpColors
A pointer to a SFTPRINTPREVIEW_COLORS structure where the current color settings are returned.
The GetCtlColors function retrieves the Print Preview control's color attributes.
When using Windows themes, the colors are determined by the defined theme and some of the defined colors are ignored (see SFTPRINTPREVIEW_COLORS for more information).
C
SFTPRINTPREVIEW_COLORS Colors; SftPrintPreview_GetCtlColors(m_hwndPreview, &Colors); Colors.colorPaper = RGB(255,255,255); Colors.colorShadow = COLOR_BTNSHADOW | 0x80000000L; SftPrintPreview_SetCtlColors(m_hwndPreview, &Colors);
C++
SFTPRINTPREVIEW_COLORS Colors; m_Preview.GetCtlColors(&Colors); Colors.colorPaper = RGB(255,255,255); Colors.colorShadow = COLOR_BTNSHADOW | 0x80000000L; m_Preview.SetCtlColors(&Colors);
See Also C/C++ API | C++ Classes | Notifications
