Exemplo n.º 1
0
void toolsCustomize()
{
  AccelEditor dlg;

  if(dlg.DoModal(IDD_ACCEL_EDITOR, hWindow)) {
    winAccelMgr = dlg.mgr;
    winAccelMgr.UpdateWndTable();
    winAccelMgr.Write();
  }
}
Exemplo n.º 2
0
void MainWnd::OnToolsCustomize()
{
  AccelEditor dlg;

  if(dlg.DoModal()) {
    theApp.winAccelMgr = dlg.mgr;
    theApp.winAccelMgr.UpdateWndTable();
    theApp.winAccelMgr.Write();
    theApp.winAccelMgr.UpdateMenu(theApp.menu);
  }
}