//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
Label* pBackgroundLabel = new (std::nothrow) Label();
pBackgroundLabel->Construct(Rectangle(0, 1, panelRect.width, panelRect.height), L"");
pBackgroundLabel->SetBackgroundBitmap(*pBgBitmap);
- r = AddControl(*pBackgroundLabel);
+ r = AddControl(pBackgroundLabel);
//always display in background
SetControlAlwaysAtBottom(*pBackgroundLabel, true);
//Video Call
pButton = static_cast<Button*>(GetControl(IDC_VIDEOCALL_BUTTON));
- pButton->SetEnabled(isEnabled);
+ pButton->SetEnabled(false);
//Message
pButton = static_cast<Button*>(GetControl(IDC_MSG_BUTTON));
//AddToContact or Viewcontact button
pButton = static_cast<Button*>(GetControl(IDC_ADD_TO_CONTACT_BUTTON));
pButton->SetShowState(isEnabled);
+ pButton->SetEnabled(isEnabled);
/*pButton->Invalidate(true);*/
}