|
inlinevirtual |
Called by the edit control when it needs to fill a list with IntelliSense data.
You need to override this function in a derived class to fill the list lstIntelliSenseData with the data to be displayed. This function is called from CBCGPEditCtrl::OnFillIntelliSenseList.
You can either override OnBeforeInvokeIntelliSense() and FillIntelliSenseList or just the entire CBCGPEditCtrl::OnFillIntelliSenseList. The difference is that OnBeforeInvokeIntelliSense() should determine the current word and pass it as the second parameter to FillIntelliSenseList, CBCGPEditCtrl::OnFillIntelliSenseList takes the current offset and returns the list that is ready to be displayed.
The default implementation does nothing and returns FALSE.
lstIntelliSenseData | [out] When the function returns it should contain the IntelliSense data to be displayed. |
lpszIntelliSense | Specifies the current token according to which the iIntelliSense data should be retrieved. |