Using the Members List
Home Page (Text Editor) | Overview | How Do I ... Topics | FAQ | Reference
The Members list displays valid member variables or functions for the class or structure to the left of the insertion point. When invoked on a blank line, or outside of a recognizable scope, the Members list displays globals.
To use the Members list
Type your class or structure declaration, then type "." or "->". Or, simply type the class name and the scope operator (::).
Visual C++ displays all valid members in a scrollable list. For example:
You can scroll or arrow through the list, or, if you know the first few letters of the member name, simply begin typing to jump directly to the member in the list. If you type a word that is not in the list, you will be taken to the nearest match.
To insert the selected member in your code, do one of the following:
Type the character that will follow the member, such as open-parenthesis, space, semi-colon and so forth, to insert the selected member followed by the character that you have just typed. This works for any non-identifier character.
Press RETURN, TAB, CTRL+ENTER, or double-click to insert just the member.
Press ESC at any time to dismiss the Members list.
To view globals
With the insertion point on a blank line in your source file, type CTRL+ALT+T.
The Members list appears, populated with all globals, including system API functions, C++ classes, instance variables, and local variables.
For more information about the contents of the Members list, see Icons in the Members List.