From: Bhavik on
Hello,

I have put a Property sheet in a dialog box. There are some controls on
each page of property sheet. When only property sheet is there in the
dialog, it works fine.

After that I added some other controls (button, listbox, etc., which
are common to all pages in the property sheet)in the remaining area of
dialog box. now the controls on the property sheet pages does not work
properly. (For example, In of the property pages, I have put a button,
clicking on which displays a message box). When I have only property
sheet as a dialog element, It works fine. otherwise, It goes into an
infinite loop, and I have to terminate the program from task manager or
with Shift+F5 in the VC++ editor.

Any solution to this problem please??

Thanks & Regards,

Bhavik

From: David Lowndes on
>When I have only property
>sheet as a dialog element, It works fine. otherwise, It goes into an
>infinite loop,

Bhavik,

Have a look at PSS ID Number: 149501 "PRB: Child CPropertySheet Hangs
If Focus Is Switched" - it sounds like a similar problem.

Dave
From: Ajay Kalra on
I had the same problem a very long time ago. Article mentioned by David
solves the issue. I am not sure which version of VC you are using but I
a had assumed this was fixed in the latest version of MFC.

--------
Ajay Kalra
ajaykalra(a)yahoo.com

 | 
Pages: 1
Prev: Add Items to MSFlexGrid
Next: learning MFC