BCGSuite for MFC
virtual void CBCGPEditCtrl::GetWordCorrections ( const CBCGPEditErrorIndicator wordInfo,
CStringArray &  arSuggestions,
CStringArray &  arCustomActions 
) const
inlinevirtual

Called by the framewrok to obtain a list of suggestions and list of custom action associated with incorrect word.

Parameters
wordInfoThe incorrect word information.
arSuggestionsA list of suggested corrections. Can be empty.
arCustomActionsA list of custom action names. Can be empty.

Override this method to prepare a list of suggestions and list of custom action associated with incorrect word. These lists will be added to context menu appearing when user right-clicks on the incorrect word.

This method is called only if method EnableErrorIndication() was previously called with parameter TRUE.