Brien Bastings:
Are you checking the "reallyChanged" flag in your item hook?
case DITEM_MESSAGE_STATECHANGED:
{
if (!dimP->u.stateChanged.reallyChanged)
break;// Do something...
}
Hi Brien,
Thank you. I tested reallyChanged flag and when I select something from combo menu it comes 1, when dummy event occurred, it comes 0. So, I didn't use it. Actually on some other cases, reallyChanged flag sometimes brings meaningless values.
With combobox I am using ListCell item. Each ListCell item has its internal value. After testing mdlListCell_getStringValue() as SUCCESS, the problem is solved and dummy event is not triggered. This was very interesting.
Regards,
Ahmet Sedat ALIS