Click here to Skip to main content
15,912,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CodeJocks ToolkitPro in VS 2010? Pin
Rhuros7-Oct-10 23:29
professionalRhuros7-Oct-10 23:29 
GeneralRe: CodeJocks ToolkitPro in VS 2010? Pin
Stefan_Lang8-Oct-10 2:58
Stefan_Lang8-Oct-10 2:58 
GeneralRe: CodeJocks ToolkitPro in VS 2010? Pin
Rhuros8-Oct-10 3:27
professionalRhuros8-Oct-10 3:27 
GeneralRe: CodeJocks ToolkitPro in VS 2010? Pin
Stefan_Lang8-Oct-10 3:41
Stefan_Lang8-Oct-10 3:41 
AnswerRe: CodeJocks ToolkitPro in VS 2010? Pin
Rhuros8-Oct-10 4:47
professionalRhuros8-Oct-10 4:47 
GeneralRe: CodeJocks ToolkitPro in VS 2010? Pin
Stefan_Lang8-Oct-10 6:25
Stefan_Lang8-Oct-10 6:25 
QuestionVC++ debugger, mouse-over variable inspection question Pin
Dave Calkins7-Oct-10 3:18
Dave Calkins7-Oct-10 3:18 
AnswerRe: VC++ debugger, mouse-over variable inspection question Pin
Dave Calkins7-Oct-10 5:31
Dave Calkins7-Oct-10 5:31 
I found a solution to this. I discovered the name of the feature described is the DataTip. Once I had this a modified google search yielded the below article.

http://www.zanshu.com/ebook/149_debugging_applications/html/ch05d.htm

The summary is that there's a config file in the VC++ install directory which controls the auto-expansion in the DataTip.

For Visual C++ 2005, the file is at the below path.

C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Packages\Debugger\autoexp.dat

The comments in the file explain how to add your own types. For the above example, I added the below line and it then worked.

MyClass =x=<x> y=<y> z=<z>

So its a matter of customizing this file with your types and then keeping track of the customizations for new machines or re-installs of VS.

I'm still not sure why it does it automatically when you don't derive from CObject but fails when you derive from CObject. One guess is that the base class adds in too many variables? The problem with that guess is that in my example I included a base class with variables (i,j,k) and those didn't show up in the tip, so I don't understand why the base class matters.
GeneralRe: VC++ debugger, mouse-over variable inspection question Pin
Dave Calkins7-Oct-10 6:10
Dave Calkins7-Oct-10 6:10 
GeneralRe: VC++ debugger, mouse-over variable inspection question Pin
Code-o-mat7-Oct-10 22:25
Code-o-mat7-Oct-10 22:25 
QuestionINVALID_HANDLE_VALUE Pin
3bood.ghzawi7-Oct-10 2:18
3bood.ghzawi7-Oct-10 2:18 
AnswerRe: INVALID_HANDLE_VALUE Pin
Sauro Viti7-Oct-10 2:29
professionalSauro Viti7-Oct-10 2:29 
AnswerRe: INVALID_HANDLE_VALUE Pin
CPallini7-Oct-10 2:31
mveCPallini7-Oct-10 2:31 
AnswerRe: INVALID_HANDLE_VALUE Pin
bleedingfingers7-Oct-10 2:33
bleedingfingers7-Oct-10 2:33 
AnswerRe: INVALID_HANDLE_VALUE Pin
Luc Pattyn7-Oct-10 2:59
sitebuilderLuc Pattyn7-Oct-10 2:59 
Questionscrollbar doesnt work Pin
aangerma7-Oct-10 0:59
aangerma7-Oct-10 0:59 
AnswerRe: scrollbar doesnt work Pin
Dave Calkins7-Oct-10 2:54
Dave Calkins7-Oct-10 2:54 
QuestionRestrict Writing to USB Pin
Subrat Patnaik7-Oct-10 0:49
Subrat Patnaik7-Oct-10 0:49 
AnswerRe: Restrict Writing to USB Pin
«_Superman_»7-Oct-10 0:53
professional«_Superman_»7-Oct-10 0:53 
QuestionPlease help me for debug information. Pin
Le@rner7-Oct-10 0:39
Le@rner7-Oct-10 0:39 
AnswerRe: Please help me for debug information. Pin
Richard MacCutchan7-Oct-10 1:11
mveRichard MacCutchan7-Oct-10 1:11 
AnswerRe: Please help me for debug information. Pin
Alan Balkany7-Oct-10 4:48
Alan Balkany7-Oct-10 4:48 
QuestionPassing parameter in worker thread Pin
learningvisualc7-Oct-10 0:35
learningvisualc7-Oct-10 0:35 
AnswerRe: Passing parameter in worker thread Pin
«_Superman_»7-Oct-10 0:44
professional«_Superman_»7-Oct-10 0:44 
GeneralRe: Passing parameter in worker thread Pin
learningvisualc7-Oct-10 1:03
learningvisualc7-Oct-10 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.