| 58 | } |
| 59 | |
| 60 | void AutoComplete::Start(Window &parent, int ctrlID, |
| 61 | int position, Point location, int startLen_, |
| 62 | int lineHeight, bool unicodeMode, int technology) { |
| 63 | if (active) { |
| 64 | Cancel(); |
| 65 | } |
| 66 | lb->Create(parent, ctrlID, location, lineHeight, unicodeMode, technology); |
| 67 | lb->Clear(); |
| 68 | active = true; |
| 69 | startLen = startLen_; |
| 70 | posStart = position; |
| 71 | } |
| 72 | |
| 73 | void AutoComplete::SetStopChars(const char *stopChars_) { |
| 74 | strncpy(stopChars, stopChars_, sizeof(stopChars)); |