动态改变SettingListBox中的一个Item的时候动态的隐藏其中的某一个Item
CAknSettingItemList::SettingItemArray()/**
* @return a pointer to the setting item array; No ownership is transferred
*/
IMPORT_C CAknSettingItemArray* SettingItemArray() const;
上面的函数可以得到一个CAknSettingItem数组,然后可以试一下CAknSettingItem::SetHidden()
/**
* Set the visibility
* @param Set to Etrue to hide the item; EFalse to make it visible
*
* Note that the setting item array must have be notified of this
* by calling CAknSettingItemList::HandleChangeInItemArrayOrVisibility
*/
IMPORT_C void SetHidden(TBool aHidden );
页:
[1]