<< Return to Main Index

< Return to Class Index

CGXPluginComponent Class Members

Construction

CGXPluginComponent Constructs a plug-in component object.

Operations

Plugin Call this method to attach the component to a window object. The method assigns the windows handle to the plug-in component's m_hWnd attribute.
HandleMessage Call this method from the WindowProc method of the parent window. HandleMessage will dispatch the window message and call the correct message handler in the plug-in component using the MFC message map mechanism.

Attributes

m_bExitMessage If you set m_bExitMessage equal to TRUE, the window procedure should return after the plug-in component has processed the message. See the source code for WindowProc earlier in this article to see how to process this attribute in the override of the WindowProc method in your parent window class.
m_bSkipOtherPlugins Use this attribute to coordinate several plug-ins. If you want to attach several plug-ins to a window object, check this attribute in the WindowProc method of the parent window class.

CGXPluginComponent

Class Overview