Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autocomplete in CEdit

Status
Not open for further replies.

rchandr3

Programmer
Joined
Jun 16, 2003
Messages
244
Location
US
Hi,

All of you might be aware of the Autocomplete operation of the VC++ Source Editor. I just want o implement the same functionality and look and feel in the CEdit control of my MFC application...

anybody can guide me,....

Thanks a lot in advance
 
You need a window to start with. As with all windows they have to manage their size, position and drawing. Maybe your window can be an owner draw listbox window, or maybe it needs to be a complete custom window, I don’t know.

Then you have to handle the data that you want to display in the window. Where it comes from how do you cache or even persist it?

Then you would integrate it in some way with the appropriate events of the edit box.

There is no cookbook way to accomplish your goal. If you gave 100 developers an the un-parameterized task that you gave us they would likely do it 100 different ways.



-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top