if (__pPopUp != null)
{
__pPopUp->Initialize();
- AddControl(__pPopUp);
+// AddControl(__pPopUp);
}
__pSearchListView = new(std::nothrow) ListView();
const int width_Icon = 72 ;
const int x_Margin_Title = 104 ;
const int y_Margin_Title = 10;
- const int width_Title = GetClientAreaBounds().width - 108 - 52 - 30;
+ const int width_Title = GetClientAreaBounds().width - 108 - 52 - 40;
const int x_Margin_Url = 104 ;
const int y_Margin_Url = 70 ;
const int width_Url = GetClientAreaBounds().width - 108 - 52 ;
case IDA_CONTEXT_ITEM_SHARE:
{
AppLogDebug("OnListViewContextItemStateChanged Share");
-
+ if (__pPopUp != null)
+ {
+ delete __pPopUp;
+ __pPopUp = null;
+ }
+ __pPopUp = new(std::nothrow) SharePopup();
+ __pPopUp->Initialize();
BookmarkData* pBookmark = dynamic_cast<BookmarkData*>(__pData->GetAt(index));
if (pBookmark != null)
{
__pPopUp->AddShareInfo(pShareInfo);
}
- if (__pPopUp != null)
- {
- __pPopUp->SetShowState(true);
- __pPopUp->Show();
- }
+ __pPopUp->SetShowState(true);
+ __pPopUp->Show();
+
}
break;
default: