Implementing CPluginWindow
The CPluginWindow class provides the UI to the plug-in. In the case of the Search UI plug-in, this class contains the code for the Search button and the code that launches the search page when the button is clicked.
The wizard provides a basic implementation of CPluginWindow in the CPluginWindow.h header file. To keep things simple, the Search UI plug-in will modify this file directly, although extensive additions would normally be placed in a separate CPluginWindow.cpp file.
The following sections describe what you need to do to implement CPluginWindow:
- The Message Map
- The Constructor
- The OnPaint Method
- The OnCreate Method
- The OnSearch Method
- The LaunchPage Method
Related topics