extern const wchar_t* VCS_EXPORT_PATH;
+extern const int MESSAGE_BOX_TIME_OUT;
+
// enums
enum OperationType
{
if (r != E_SUCCESS)
{
MessageBox msgBox;
- msgBox.Construct(L"", ResourceManager::GetString(IDS_CLD_POP_INVALID_TIME), MSGBOX_STYLE_NONE);
+ msgBox.Construct(L"", ResourceManager::GetString(IDS_CLD_POP_INVALID_TIME), MSGBOX_STYLE_NONE, MESSAGE_BOX_TIME_OUT);
int modalResult;
msgBox.ShowAndWait(modalResult);
}
if (r != E_SUCCESS)
{
MessageBox msgBox;
- msgBox.Construct(L"", ResourceManager::GetString(IDS_CLD_POP_INVALID_TIME), MSGBOX_STYLE_NONE);
+ msgBox.Construct(L"", ResourceManager::GetString(IDS_CLD_POP_INVALID_TIME), MSGBOX_STYLE_NONE, MESSAGE_BOX_TIME_OUT);
int modalResult;
msgBox.ShowAndWait(modalResult);
}
CATCH:
replacedText = L"";
MessageBox msgBox;
- msgBox.Construct(L"", ResourceManager::GetString(IDS_CLD_POP_INVALID_TIME), MSGBOX_STYLE_NONE);
+ msgBox.Construct(L"", ResourceManager::GetString(IDS_CLD_POP_INVALID_TIME), MSGBOX_STYLE_NONE, MESSAGE_BOX_TIME_OUT);
msgBox.ShowAndWait(value);
return true;
}
CATCH:
replacedText = L"";
MessageBox msgBox;
- msgBox.Construct(L"", ResourceManager::GetString(IDS_CLD_BODY_REPEAT_WARNING), MSGBOX_STYLE_NONE);
+ msgBox.Construct(L"", ResourceManager::GetString(IDS_CLD_BODY_REPEAT_WARNING), MSGBOX_STYLE_NONE, MESSAGE_BOX_TIME_OUT);
msgBox.ShowAndWait(value);
return true;
}
else
{
MessageBox msgBox;
- msgBox.Construct(L"", ResourceManager::GetString(IDS_RSSR_BODY_FAILED_TO_IMPORT_FILE), MSGBOX_STYLE_NONE);
+ msgBox.Construct(L"", ResourceManager::GetString(IDS_RSSR_BODY_FAILED_TO_IMPORT_FILE), MSGBOX_STYLE_NONE, MESSAGE_BOX_TIME_OUT);
int modalResult;
msgBox.ShowAndWait(modalResult);
}
else
{
MessageBox msgBox;
- msgBox.Construct(L"", ResourceManager::GetString(IDS_RSSR_BODY_FAILED_TO_IMPORT_FILE), MSGBOX_STYLE_NONE);
+ msgBox.Construct(L"", ResourceManager::GetString(IDS_RSSR_BODY_FAILED_TO_IMPORT_FILE), MSGBOX_STYLE_NONE, MESSAGE_BOX_TIME_OUT);
int modalResult;
msgBox.ShowAndWait(modalResult);
}
const wchar_t* VALUE_SOCIAL_ITEM_ID = L"item_id";
const wchar_t* VCS_EXPORT_PATH = L"/tmp/Cl%d%02d%02d%02d%02d%02d.vcs";
+
+const int MESSAGE_BOX_TIME_OUT = 1500;