From 9254998f3a90d0035dae929c3baba2c92d9bc467 Mon Sep 17 00:00:00 2001 From: mamata pattanaik Date: Mon, 25 Mar 2013 11:25:26 +0530 Subject: [PATCH] Disabled EditArea editing used for displaying app output. Change-Id: Ibbf03740409858c3678d91e1bd83434a0b427a98 Signed-off-by: mamata pattanaik --- project/src/Image/GifDecoderForm.cpp | 2 +- project/src/Image/ImageColorConvertForm.cpp | 2 +- project/src/Image/ImageFlipRotateForm.cpp | 2 +- project/src/Image/ImageResizeForm.cpp | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/project/src/Image/GifDecoderForm.cpp b/project/src/Image/GifDecoderForm.cpp index ae8ea69..db07167 100644 --- a/project/src/Image/GifDecoderForm.cpp +++ b/project/src/Image/GifDecoderForm.cpp @@ -119,7 +119,7 @@ GifDecoderForm::OnInitializing(void) __pEditAreaLog = static_cast< EditArea* >(GetControl(L"IDC_EDITAREA_LOG")); TryCatch(__pEditAreaLog, r = E_SYSTEM, "pEditArea is null"); - __pEditAreaLog->SetKeypadEnabled(false); + __pEditAreaLog->SetEnabled(false); __frameList.Construct(); __timer.Construct(*this); diff --git a/project/src/Image/ImageColorConvertForm.cpp b/project/src/Image/ImageColorConvertForm.cpp index d02ec4d..c59583f 100644 --- a/project/src/Image/ImageColorConvertForm.cpp +++ b/project/src/Image/ImageColorConvertForm.cpp @@ -122,7 +122,7 @@ ImageColorConvertForm::OnInitializing(void) __pEditAreaLog = static_cast< EditArea* >(GetControl(L"IDC_EDITAREA_LOG")); TryCatch(__pEditAreaLog, r = E_SYSTEM, "pEditArea is null"); - __pEditAreaLog->SetKeypadEnabled(false); + __pEditAreaLog->SetEnabled(false); FitControlBounds(*__pDstBmpCtrl, __pSrcBmpCtrl, __pEditAreaLog, 2, 2, true); FitControlBounds(*__pEditAreaLog, __pDstBmpCtrl, GetFooter(), 2, 2, true); diff --git a/project/src/Image/ImageFlipRotateForm.cpp b/project/src/Image/ImageFlipRotateForm.cpp index 438252e..a899158 100644 --- a/project/src/Image/ImageFlipRotateForm.cpp +++ b/project/src/Image/ImageFlipRotateForm.cpp @@ -169,7 +169,7 @@ ImageFlipRotateForm::OnInitializing(void) __pEditAreaLog = static_cast< EditArea* >(GetControl(L"IDC_EDITAREA_LOG")); TryCatch(__pEditAreaLog, r = E_SYSTEM, "pEditArea is null"); - __pEditAreaLog->SetKeypadEnabled(false); + __pEditAreaLog->SetEnabled(false); FitControlBounds(*__pFlipButton, __pFlipBmpCtrl, __pEditAreaLog, 2, 2, false); FitControlBounds(*__pRotateButton, __pFlipBmpCtrl, __pEditAreaLog, 2, 2, false); diff --git a/project/src/Image/ImageResizeForm.cpp b/project/src/Image/ImageResizeForm.cpp index be0e893..1fe4943 100644 --- a/project/src/Image/ImageResizeForm.cpp +++ b/project/src/Image/ImageResizeForm.cpp @@ -113,6 +113,7 @@ ImageResizeForm::OnInitializing(void) __pLog = LogControl::ConstructN(GetControl(L"IDC_EDITAREA_LOG")); TryCatch(__pLog, r = E_SYSTEM, "LogControl::ConstructN failed:%s", GetErrorMessage(GetLastResult())); AddControl(*__pLog); + __pLog->SetEnabled(false); FitControlBounds(*__pSliderSize, __pBmpCtrl, __pLog, 2, 2, false); FitControlBounds(*__pLog, __pSliderSize, null, 2, 2, true); -- 2.7.4