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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problem with CPropertySheet/CPropertyPage

Problem with CPropertySheet/CPropertyPage

Scheduled Pinned Locked Moved C / C++ / MFC
helpworkspace
3 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.
  • N Offline
    N Offline
    Nirav Doshi
    wrote on last edited by
    #1

    Hello, I have a dialog, which is going to be a typical casepaper form, used in hospitals. The dialog has a few controls which accept the patient's personal details like name, address, last visit date, age, gender, etc. Below this area, I have a CPropertySheet control, in which I am accepting the other treatment related details. There are 6/7 CPropertyPage dialogs which comprise the CPropertySheet tabs. This child-dialog is called from an MDI window. My problem is whenever this dialog is open, and the focus is on any of the controls within any of my CPropertyPage dialogs, AND if the user clicks anywhere out of the dialog, even on the MDI Title, or MDI Client area, or even switches the application to some other application, my application hangs. Additionally, I have a Microsoft DateTimePicker (DTPicker) control in one of my CPropertyPages, and clicking on any date on the open DTPicker Control also hangs up the application. The problem is the same. Please let me know if you have encountered such a problem ever. If required I can also send you the binary/workspace, if you can help me with that. Thanks in advance, Rgds, Nirav * The world stands aside to let anyone pass who knows where he is going! - David Jordan *

    B 1 Reply Last reply
    0
    • N Nirav Doshi

      Hello, I have a dialog, which is going to be a typical casepaper form, used in hospitals. The dialog has a few controls which accept the patient's personal details like name, address, last visit date, age, gender, etc. Below this area, I have a CPropertySheet control, in which I am accepting the other treatment related details. There are 6/7 CPropertyPage dialogs which comprise the CPropertySheet tabs. This child-dialog is called from an MDI window. My problem is whenever this dialog is open, and the focus is on any of the controls within any of my CPropertyPage dialogs, AND if the user clicks anywhere out of the dialog, even on the MDI Title, or MDI Client area, or even switches the application to some other application, my application hangs. Additionally, I have a Microsoft DateTimePicker (DTPicker) control in one of my CPropertyPages, and clicking on any date on the open DTPicker Control also hangs up the application. The problem is the same. Please let me know if you have encountered such a problem ever. If required I can also send you the binary/workspace, if you can help me with that. Thanks in advance, Rgds, Nirav * The world stands aside to let anyone pass who knows where he is going! - David Jordan *

      B Offline
      B Offline
      Bartosz Bien
      wrote on last edited by
      #2

      You may send me the code if you wish, I will check it. I have been embedding property sheets in dialogs and views with success. Regards, BB

      N 1 Reply Last reply
      0
      • B Bartosz Bien

        You may send me the code if you wish, I will check it. I have been embedding property sheets in dialogs and views with success. Regards, BB

        N Offline
        N Offline
        Nirav Doshi
        wrote on last edited by
        #3

        Thanks Bartosz!...:) I understand you may be a busy person, so even in case you have some sample code of your own, where you are using embedded CPropertySheet with CPropertyPages, even if you can send them to me maybe I can solve the problem!...:~ I have sent you an e-mail to your registered e-mail address at CP. Thanks, Rgds, Nirav Doshi * The world stands aside to let anyone pass who knows where he is going! - David Jordan *

        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