How to create a group of some of the items of a page programatically.
Hi,
I am able to create a group of all Items of a page successfully. But I want to create a group of some of the item of the page.
Below is my code snape:
InterfacePtr<ICommand> groupItemsCmd(CmdUtils::CreateCommand(kGroupCmdBoss));
ASSERT(groupItemsCmd);
if (!groupItemsCmd) {
return;
}
InterfacePtr<IGroupCmdData> groupCmdData ( groupItemsCmd, UseDefaultIID());
groupCmdData->Set(itemsOnPageNew);
ErrorCode status = CmdUtils::ProcessCommand(groupItemsCmd);
if (status != kSuccess){
ASSERT_FAIL(
"kGroupCmdBoss failed");
break;
}
So how I can create UDList of some of the control of the page .
Any help will be appreciable.
Thanks,