Softelvdm.Controls Class Library for Windows Controls 1.0

HighlightPart Method, PartsRenderingClass Class

Softel vdm, Inc.

Highlights the part.

Syntax      PartsRenderingClass Class (Softelvdm.Controls)

VB   

Public Sub HighlightPart( _
     ByVal strat As StrategyClass, _
     ByVal gp As GenericPartClass, _
     ByVal rArea As Rectangle )

C#   

public void HighlightPart(
     StrategyClass strat,
     GenericPartClass gp,
     Rectangle rArea );

C++   

public: void HighlightPart(
     StrategyClass^ strat,
     GenericPartClass^ gp,
     Rectangle rArea );

gp

Defines the part object to highlight.

rArea

Defines the area used by the part.

strat

Defines the StrategyClass object used.

Comments

The HighlightPart method highlights the part.

When designing a cell using the property pages, the current cell part being edited can be highlighted. The actual highlight can be rendered by any part using the HighlightPart method.

The part is only highlighted if requested by the caller (strat.reason is StrategyReasonEnum.Paint and strat.HighlightPart is equal to the requested part gp).

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com