Problem with CPropertySheet/CPropertyPage
-
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/7CPropertyPage
dialogs which comprise theCPropertySheet
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 myCPropertyPage
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 myCPropertyPages
, 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 * -
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/7CPropertyPage
dialogs which comprise theCPropertySheet
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 myCPropertyPage
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 myCPropertyPages
, 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 *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
-
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
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
withCPropertyPages
, 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 *