• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Page Item Selection (Highlighting)

Community Beginner ,
Jun 15, 2020 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

111

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
community guidelines
no replies

Have something to add?

Join the conversation