Is there a way to make a textbox control display C++ intelisense just like it would in Visual Studios?
Asked
Active
Viewed 3,697 times
3 Answers
1
I assume you are talking about embedding a control in your own app. You could look at Actipro SyntaxEditor. It will color the C++ right out of the box. If you want intelliprompt/sense you will have supply a parser. They have stuff to help you get started.

Jake Pearson
- 27,069
- 12
- 75
- 95
1
See This Question and this 'DIY Intellisense' Code Project from the top answer. That's in C#, but the same set of controls is accessable through C++.
0
I gather you are talking about an AutoComplete popup, not actual intellisense.
To do this, set the AutoCompleteMode of the textbox to Suggest (or SuggestAppend) and choose the appropriate AutoCompleteSource
combDogBreeds.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
combDogBreeds.AutoCompleteSource = AutoCompleteSource.ListItems;
string[] validDogBreeds = new[] {"Bull Mastiff", "Bulldog", "Golden Retriever"};
combDogBreeds.Items.AddRange(validDogBreeds);
Or, in the designer:

BlueRaja - Danny Pflughoeft
- 84,206
- 33
- 197
- 283