6 Managing Highlight Styles
Q3HighlightStyle_New
function to create a new highlight style object.
TQ3StyleObject Q3HighlightStyle_New ( TQ3AttributeSet highlightAttribute); highlightAttribute An attribute set.
Q3HighlightStyle_New
function returns, as its function result, a new style object having the highlight style specified by the highlightAttribute
parameter. The highlightAttribute
parameter should be a reference to an attribute set.
If a new style object could not be created, Q3HighlightStyle_New
returns the value NULL
.
To change the current highlight style, you must actually draw the style object. You can call Q3Style_Submit
to draw the style in retained mode or Q3HighlightStyle_Submit
(described next) to draw the style in immediate mode.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker