Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Mobile Development
  3. Mobile
  4. CPropertySheet

CPropertySheet

Scheduled Pinned Locked Moved Mobile
helpquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 451096
    wrote on last edited by
    #1

    I built a simple project using evc4.0 under STANDARDSDK_420(WINCE emulator) with codes: BOOL CEx1App::InitInstance() { CPropertySheet allcontrolssheet(_T("Ex1")); CPage1 p1,p2,p3; allcontrolssheet.AddPage(&p1); allcontrolssheet.AddPage(&p2); allcontrolssheet.AddPage(&p3); allcontrolssheet.DoModal(); return FALSE; } ex1.exe - 0 error(s), 0 warning(s. But it can't run in CPropertySheet::DoModal() Anybody help me?? Thanks.

    J 1 Reply Last reply
    0
    • U User 451096

      I built a simple project using evc4.0 under STANDARDSDK_420(WINCE emulator) with codes: BOOL CEx1App::InitInstance() { CPropertySheet allcontrolssheet(_T("Ex1")); CPage1 p1,p2,p3; allcontrolssheet.AddPage(&p1); allcontrolssheet.AddPage(&p2); allcontrolssheet.AddPage(&p3); allcontrolssheet.DoModal(); return FALSE; } ex1.exe - 0 error(s), 0 warning(s. But it can't run in CPropertySheet::DoModal() Anybody help me?? Thanks.

      J Offline
      J Offline
      Joao Paulo Figueira
      wrote on last edited by
      #2

      What is CPage1? Regards, João Paulo Figueira Embedded MVP

      U 1 Reply Last reply
      0
      • J Joao Paulo Figueira

        What is CPage1? Regards, João Paulo Figueira Embedded MVP

        U Offline
        U Offline
        User 451096
        wrote on last edited by
        #3

        Page1 is: class CPage1 : public CPropertyPage { DECLARE_DYNCREATE(CPage1) // Construction public: CPage1(); ~CPage1(); // Dialog Data //{{AFX_DATA(CPage1) enum { IDD = IDD_PAGE1 }; // NOTE - ClassWizard will add data members here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CPage1) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CPage1) // NOTE: the ClassWizard will add member functions here //}}AFX_MSG DECLARE_MESSAGE_MAP() }; Thanks

        J 1 Reply Last reply
        0
        • U User 451096

          Page1 is: class CPage1 : public CPropertyPage { DECLARE_DYNCREATE(CPage1) // Construction public: CPage1(); ~CPage1(); // Dialog Data //{{AFX_DATA(CPage1) enum { IDD = IDD_PAGE1 }; // NOTE - ClassWizard will add data members here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CPage1) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CPage1) // NOTE: the ClassWizard will add member functions here //}}AFX_MSG DECLARE_MESSAGE_MAP() }; Thanks

          J Offline
          J Offline
          Joao Paulo Figueira
          wrote on last edited by
          #4

          Does IDD_PAGE1 have any controls? If it does, does it have a date time picker? Regards, João Paulo Figueira Embedded MVP

          U 1 Reply Last reply
          0
          • J Joao Paulo Figueira

            Does IDD_PAGE1 have any controls? If it does, does it have a date time picker? Regards, João Paulo Figueira Embedded MVP

            U Offline
            U Offline
            User 451096
            wrote on last edited by
            #5

            IDD_PAGE1 is only a simple Dialog without any control. Thanks

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups