Select to view content in your preferred language

Selecting Mil2525c Symbol On Mouse Click

2416
1
Jump to solution
03-05-2016 01:33 AM
Bhargav_KumarK
Emerging Contributor

Hi,

I am using Mil2525c symbology for drawing military symbols. I am able to draw properly, but how can I select this symbols on mouse click for further actions like delete/modify/move e.t.c. ?

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

You should be able to do something like the following to select it

Message selectMsg = MessageHelper::createSelectMessage(SymbolDictionaryType::Mil2525C, “message_id”, “position_report", true);


selectMsg.setProperty(“_action”, “select”);  // set _action property to “select” or “un-select”



m_groupLayer->messageProcessor()->processMessage( selectMsg ); // process select message

View solution in original post

0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

You should be able to do something like the following to select it

Message selectMsg = MessageHelper::createSelectMessage(SymbolDictionaryType::Mil2525C, “message_id”, “position_report", true);


selectMsg.setProperty(“_action”, “select”);  // set _action property to “select” or “un-select”



m_groupLayer->messageProcessor()->processMessage( selectMsg ); // process select message
0 Kudos