CGXStylesDialog::CGXStylesDialog
CGXStylesDialog(CWnd* pParent = NULL);
pParent
Pointer to a parent window. Can be NULL.
Remarks
Constructs a CGXStylesDialog object.
You can copy the example to your class if you want to provide the dialog for the end user.
Example
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());
}
See Also
CGXStylesMap CGXGridCore::ChangeStylesMap