CGXStylesDialog(CWnd* pParent = NULL);
pParent
Pointer to a parent window. Can be NULL.
Constructs a CGXStylesDialog object.
You can copy the example to your class if you want to provide the dialog for the end user.
Here is how you should open the styles dialog and then apply the changes to the grid:
void CMyGridView::OnFormatStyles()
{
CGXStylesDialog dlg;
dlg.SetStylesMap(*GetParam()->GetStylesMap());
dlg.SetParam(GetParam());
if (dlg.DoModal() == IDOK)
ChangeStylesMap(dlg.GetStylesMap());
}
CGXStylesMap CGXGridCore::ChangeStylesMap
Class Overview | Class Members