Code Comment Viewing (Windows CE 5.0)
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:
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. The following list shows the order in which IntelliSense makes this determination:
The following code example shows the end-of-line comments that IntelliSense displays in the declaration.
void MyFunction(); //EOL declaration comments
The following code example shows comments that appear directly above the declaration with no blank space in-between that IntelliSense displays.
//Before declaration comments void MyFunction();
The following code example shows the end-of-line comments that IntelliSense displays in the definition.
int CMyAppDoc::MyVariable=2; // EOL definition comments
The following code example shows the comments that appear directly above the definition with no blank space in-between that IntelliSense displays.
//Before definition comments CMyAppDoc::MyFunction() { return; }
See Also
Turning off the Automatic Display of Comments
Send Feedback on this topic to the authors