Highlighted

Page Item Selection (Highlighting)

Community Beginner ,
Jun 15, 2020

Copy link to clipboard

Copied

Hi all,

I want to know the way to implement object highlighting when mouse hover. I have done the implementation to identify the page item when mouse hover on the page item. And also, I did the implementation to select page item.

 

Page Item Selection Codeblock:

Utils<ISelectionUtils> selectionUtils;
InterfacePtr<ILayoutSelectionSuite> iLayoutSelectionSuite(selectionUtils->QueryActiveLayoutSelectionSuite());
if (iLayoutSelectionSuite != nil)
{
iLayoutSelectionSuite->DeselectAllPageItems();
iLayoutSelectionSuite->SelectPageItems(UIDList(item), Selection::kReplace, Selection::kDontScrollLayoutSelection);
}

 

But Actually, I want to highlight that page item like Color theme tool. When hover mouse to page item, the page item is highlighted with layer color.

TOPICS
SDK

Views

55

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Page Item Selection (Highlighting)

Community Beginner ,
Jun 15, 2020

Copy link to clipboard

Copied

Hi all,

I want to know the way to implement object highlighting when mouse hover. I have done the implementation to identify the page item when mouse hover on the page item. And also, I did the implementation to select page item.

 

Page Item Selection Codeblock:

Utils<ISelectionUtils> selectionUtils;
InterfacePtr<ILayoutSelectionSuite> iLayoutSelectionSuite(selectionUtils->QueryActiveLayoutSelectionSuite());
if (iLayoutSelectionSuite != nil)
{
iLayoutSelectionSuite->DeselectAllPageItems();
iLayoutSelectionSuite->SelectPageItems(UIDList(item), Selection::kReplace, Selection::kDontScrollLayoutSelection);
}

 

But Actually, I want to highlight that page item like Color theme tool. When hover mouse to page item, the page item is highlighted with layer color.

TOPICS
SDK

Views

56

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 15, 2020 0

Have something to add?

Join the conversation