Display value of member in 'Variable' window
-
Hello all, as I mentioned I would like to display one (specified by me) member value of some class. You can observe this for MFC objects - e.g. CWnd displays value of m_hWnd in curly brackets. I looked into definitions of some MFC classes (CWnd and CString) and didn't see anything 'magic'. Does anybody know something about it? Regards Bartek
-
Hello all, as I mentioned I would like to display one (specified by me) member value of some class. You can observe this for MFC objects - e.g. CWnd displays value of m_hWnd in curly brackets. I looked into definitions of some MFC classes (CWnd and CString) and didn't see anything 'magic'. Does anybody know something about it? Regards Bartek
You mean in the debugger ? Just type it into the debug variable window. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
You mean in the debugger ? Just type it into the debug variable window. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
Hmmm, I wrote bad topic ;-) It's not so trivial ... I want to display value of specifed member while in 'Variable' window an object of the class containing this member is listed. For example: +this 0x00432990 {CManagersView hWnd=0x004604e6} Class CManagersView is derrived from CView and automatically displays it's 'primary' member - m_hWnd. Regards Bartek
-
Hello all, as I mentioned I would like to display one (specified by me) member value of some class. You can observe this for MFC objects - e.g. CWnd displays value of m_hWnd in curly brackets. I looked into definitions of some MFC classes (CWnd and CString) and didn't see anything 'magic'. Does anybody know something about it? Regards Bartek
autoexp.dat located in \common\msdev98\bin contains the 'magic'. Tomasz Sowinski -- http://www.shooltz.com
-
autoexp.dat located in \common\msdev98\bin contains the 'magic'. Tomasz Sowinski -- http://www.shooltz.com
That's it! Thanks a lot ;-) Regards Bartek