Home Page (Text Editor) | Overview | How Do I ... Topics | FAQ | Reference
By default, any comments in the source code that use the // or /* delimiters are displayed next to their associated member in the Members list. As you traverse the list, IntelliSense displays up to 12 lines of the comment in a pop-up window next to the highlighted member:
To turn off the automatic display of comments, clear the Code comments check box under Statement completion options on the Editor tab of the Options dialog box (Tools menu).
When more than one comment exists for a function, IntelliSense determines which comment to display in the Members list by where it appears in the code:
void MyFunction(); //EOL declaration comments
//Before declaration comments
void MyFunction();
int CMyAppDoc::MyVariable=2; // EOL definition comments
//Before definition comments
CMyAppDoc::MyFunction()
{
return;
}