BCGSuite for MFC
CBCGPIntelliSenseWnd

Detailed Description

The CBCGPIntelliSenseWnd class is a helper class used in conjunction with CBCGPEditCtrl to provide IntelliSense support.

This class implements a popup window with an embedded owner draw list box that displays the IntelliSense data.

Usually, the objects of this class are created automatically by the edit control when the IntelliSense is being invoked.

If you need any custom processing (for example, you want to specify runtime class of the custom list box), you should override CBCGPEditCtrl::InvokeIntelliSense and do the following:

Copy
pIntelliSenseWnd->Create(lstIntelliSenseData, WS_POPUP | WS_VISIBLE | MFS_SYNCACTIVE | MFS_4THICKFRAME,
ptTopLeft, this, m_pIntelliSenseLBFont, m_pIntelliSenseImgList, pMyLBRTC);

Note. There is no need to delete pIntelliSenseWnd, it's deleted automatically in CBCGPIntelliSenseWnd::PostNcDestroy.

Inherits CMiniFrameWnd.

Public Member Functions

 CreateCreates the Windows popup window, embedded list box control and fills it with the IntelliSense data.