SearchColor Property (Story Control)
Windows - Visual C++
Description
The SearchColor property returns or
sets the highlight color for search hits in the story.
Syntax
unsigned long color = GetSearchColor();
void SetSearchColor(unsigned long color);
The SearchColor syntax has these parts:
Part |
Description |
|
color |
A value or constant that determines the highlight color for search hits in the story. |
Remarks
The color can be either normal RGB
(red, green, blue) or system default colors. Normal RGB colors are
specified by using the Visual C++ color palette or by using the
Visual C++ RGB or QBColor functions. System default colors are listed
in the Visual C++ object library in the Object Browser. The user's
choices will be substituted as specified in the Control Panel settings.
See Also: ProfileColor URLColor
Back to: Story Properties