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.
Have something to add?