I have slightly reworked the example in the manner suggested by Mike Liss (2000/08/17), and the tab sequence through the controls works fine, with one exception.
If I change _pages_ by clicking on the page 1,2,3 buttons the program hangs. All other methods of navigating pages works fine.
I can resolve this by removing the "control" style setting from the dialog pages, but then loose correct tab control.
This set of classes is exactly what I was looking for. One question though. When I run your demo in debug mode the exit code it 0x2 which by the definition of the MSDN says its a program error meaning one of the following:
1. A syntax error in the makefile
2. An error or exit code from a command
3. An interruption by the user
Any sort of errors worry me as it could possibly lead to problems with the program when in use though I haven't had any problems so far with it. Do you know the reason it's returning this and a way to fix it?
Thank you again for these classes.
edit: only occurs when using the close button in the upper right-hand corner of the main dialog box. Pressing cancel will return an exit code of 0x0
Sometimes I think I should get an easier hobby.
What I'm trying to do is add the stacked dialogs to a dialog bar of an SDI application.
I'm pretty sure that I've typed everything correctly and the program compiles and links correctly, but when I run the app, my dialogs don't appear in the static control of the dialog bar.
As I'm still kind of new to MFC, any kind of help would really be appreciated.
Thanks in advance