<< Return to Main Index

< Return to Class Index

class CGXGridHint: public CObject

The CGXGridHint class is meant to be instantiated when views need to be updated after a change of the document. Instances of CGXGridHint are so-called “hint objects”.

The CGXGridCore class has several update-methods. Each update-method can create a hint object with a unique id specifying the update-method. Further attributes of the hint are filled with the parameters of the update-method and the view type. See m_id for hint-ids.

A hint is passed to CDocument::UpdateAllViews which passes the hint to each view by calling CView::OnUpdate.

CGXGridHint contains the following attributes:

m_id and nViewID must be set. All others are optional.

See the corresponding update-methods to know which attributes they are using.

#include <gxall.h>

CGXGridHint

Class Members