void CQueryBuilderApp::PreLoadState() { CString strName; strName.LoadString(IDS_EDIT_MENU); GetContextMenuManager()->AddMenu(strName, IDR_POPUP_EDIT); strName.LoadString(IDS_EXPLORER); GetContextMenuManager()->AddMenu(strName, IDR_POPUP_EXPLORER); }
void CStatusBarDemoApp::PreLoadState () { GetContextMenuManager()->AddMenu (_T("My menu"), IDR_CONTEXT_MENU); // TODO: add another context menus here }
void CBCGPGridExampleApp::PreLoadState () { GetContextMenuManager()->AddMenu (_T("My menu"), IDR_CONTEXT_MENU); // TODO: add another context menus here }
void CWorkSpaceToolBarApp::PreLoadState () { GetContextMenuManager()->AddMenu (_T("My menu"), IDR_CONTEXT_MENU); // TODO: add another context menus here }
void CTreeDrawingApp::PreLoadState() { BOOL bNameValid; CString strName; bNameValid = strName.LoadString(IDS_EDIT_MENU); ASSERT(bNameValid); GetContextMenuManager()->AddMenu(strName, IDR_POPUP_EDIT); }
void CEcoZipFMApp::PreLoadState() { BOOL bNameValid; CString strName; bNameValid = strName.LoadString(IDR_MAINFRAME); ASSERT(bNameValid); GetContextMenuManager()->AddMenu(strName, IDR_MAINFRAME); GetContextMenuManager()->AddMenu(strName, IDR_MENU_POPUP); GetContextMenuManager()->AddMenu(strName, IDR_MENU_FOLDER); CFmSettings st; st.Load(); ShowSystemMenu = st.ShowSystemMenu; return CWinAppEx::PreLoadState(); }
void CBCGPOrganizerApp::PreLoadState () { CBCGPContextMenuManager* pManager = GetContextMenuManager(); pManager->AddMenu (_T("Output"), IDR_OUTPUT_MENU); pManager->AddMenu (_T("Mail"), IDR_MAIL_MENU); pManager->AddMenu (_T("Planner Appointment"), IDR_PLANNER_APPOINTMENT); pManager->AddMenu (_T("Planner Time Bar"), IDR_PLANNER_TIMEBAR); pManager->AddMenu (_T("Planner Day View"), IDR_PLANNER_CLIENT_DAY); pManager->AddMenu (_T("Planner Work Week View"), IDR_PLANNER_CLIENT_WORK_WEEK); pManager->AddMenu (_T("Planner Week View"), IDR_PLANNER_CLIENT_WEEK); pManager->AddMenu (_T("Planner Month View"), IDR_PLANNER_CLIENT_MONTH); pManager->AddMenu (_T("Tasks"), IDR_TASKS_MENU); pManager->AddMenu (_T("Macros Edit"), IDR_EDIT_MENU); pManager->AddMenu (_T("Macros Edit Margin"), IDR_EDIT_POPUP_SELECTIONMARGIN); pManager->AddMenu (_T("Gantt View"), IDR_GANTT_CLIENT); pManager->AddMenu (_T("Gantt Task"), IDR_GANTT_TASK); pManager->AddMenu (_T("Edit"), IDR_EDITCTRL_MENU); //pManager->AddMenu (_T("Category"), IDR_CATEGORY_MENU); }
void CWordPadApp::PreLoadState () { GetContextMenuManager()->AddMenu (_T("Context menu"), IDR_TEXT_POPUP); }