Пример #1
0
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);
}
Пример #2
0
void CStatusBarDemoApp::PreLoadState ()
{

	GetContextMenuManager()->AddMenu (_T("My menu"), IDR_CONTEXT_MENU);

	// TODO: add another context menus here
}
Пример #3
0
void CBCGPGridExampleApp::PreLoadState ()
{

	GetContextMenuManager()->AddMenu (_T("My menu"), IDR_CONTEXT_MENU);

	// TODO: add another context menus here
}
Пример #4
0
void CWorkSpaceToolBarApp::PreLoadState ()
{

	GetContextMenuManager()->AddMenu (_T("My menu"), IDR_CONTEXT_MENU);

	// TODO: add another context menus here
}
Пример #5
0
void CTreeDrawingApp::PreLoadState()
{
	BOOL bNameValid;
	CString strName;
	bNameValid = strName.LoadString(IDS_EDIT_MENU);
	ASSERT(bNameValid);
	GetContextMenuManager()->AddMenu(strName, IDR_POPUP_EDIT);
}
Пример #6
0
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();
}
Пример #7
0
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);
}
Пример #8
0
void CWordPadApp::PreLoadState ()
{
	GetContextMenuManager()->AddMenu (_T("Context menu"), IDR_TEXT_POPUP);
}