result
_FooterImpl::SetItemBadgeIcon(int itemIndex, const Bitmap* pBadgeIcon)
{
- SysTryReturnResult(NID_UI_CTRL, (__style != FOOTER_STYLE_BUTTON_ICON && __style != FOOTER_STYLE_BUTTON_ICON_TEXT), E_UNSUPPORTED_OPERATION,
- "[E_UNSUPPORTED_OPERATION] Unable to set the badge icon because the current style does not support it.");
-
int count = GetItemCount();
SysTryReturnResult(NID_UI_CTRL, (itemIndex >= 0 && itemIndex < count), E_OUT_OF_RANGE,
result
_FooterImpl::SetItemNumberedBadgeIcon(int itemIndex, int number)
{
- SysTryReturnResult(NID_UI_CTRL, (__style != FOOTER_STYLE_BUTTON_ICON && __style != FOOTER_STYLE_BUTTON_ICON_TEXT), E_UNSUPPORTED_OPERATION,
- "[E_UNSUPPORTED_OPERATION] Unable to set the badge icon because the current style does not support it.");
-
int count = GetItemCount();
SysTryReturnResult(NID_UI_CTRL, (itemIndex >= 0 && itemIndex < count), E_OUT_OF_RANGE,