CEditView for Windows Mobile device

I am trying to move an Embedded Visual C++ 4.0 project to VS C++ 2005 Beta 2.

One problem I am having is defining a subclass of CEditView. My code has the following:

#ifdef UNDER_CE
class CWcTrcWndView : public CEditView
#else
class CWcTrcWndView : public CRichEditView
#endif

afxext.h defines CEditView but since _WIN32_WCE is defined, it doesn't get included in the compilation:

#ifndef _WIN32_WCE // View
/////////////////////////////////////////////////////////////////////////////
// CEditView - simple text editor view
class CEditView : public CCtrlView

The Embedded versions of the includes so not have this #ifndef _WIN32_WCE. Is there a reason for this change and what is the alternative

Thanks.



Answer this question

CEditView for Windows Mobile device

  • Jon Royales

    Rob,

    CEditView is not present in MFC8.0 ,
    Please check the link for more information ,
    http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/migrating_evc_vs2005.asp
    (Migrating eVC3 or eVC4 to VS2005)

    Reason for exclusion : Based on usage model , feedback from market, etc  MFClibraries are optimised for smart devices.

    How ever we are aware of these painpoints during migration and we are considering the feedbacks in this context very very sincerely. 
    We also appreciate your inputs here.

    Thanks 
    Srikanth Bogadapti 

  • hminnesota

    This is a major problem for us too. We found this back in April.

    It's stopped us from moving to VS2005.

  • miller_nb

    I moved this to the Smart Devices Native C++ Development  Forum where it will likely get more attention from the develoeprs who focus on C++ Developement.
  • athadu

    Yes, I have same problem. A editview is necessary for us.

    Is there any solution for me

  • CEditView for Windows Mobile device