Thanks for the tip, I'll have a look into the scripts and see if they can do what I need. I've just discovered SCM notifications which look promising although I haven't read enough about them to know if they can do what I want yet.
I have created a SDI application with having a LeftView and RightView.LeftView is inherited from CTreeCtrl class where as the rightview is inherited from CFormView class.Can anybody tell me how to split the rightview into 2 halves?
when i run this code , it run but not give me a error message. plz solve my error.
Assuming you mean the opposite of what you wrote - Why don't you just step through the code with the debugger and see where it fails?
Also, next time you post your code please embed it in the "code block" tags.
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?