you can add a TabWnd to the Dialog.
Then you can add a CFormView to this TabWnd.
When you move/resize the TabWnd, you can "hide" the TabWnd and you only see the active CFormView.
Naturally you can switch the View into the TabWnd with another View...
Please check the call stack and see which function in your code causes the problem (and which line). You can then put breakpoints just before the crash location and check if everything is correct (values have correct values, pointers are correctly initialized, ...). If you are still stuck, then post here the call stack with the code (your code) that causes the problem.
I do understand that some crashes will take you right into the disassembly and won't show any code that you've written. But to confirm that this is such a case, what exactly does the callstack show when the crash occurs?!
Hi everybody, i put a group box which id is IDC_GB in a dialog. i add a message function to it and
change it's styles notify to true. but it doesn't respond when i click it use mouse.
who can tell me how to do?