Changeset 2315
- Timestamp:
- 03/10/10 12:11:26 (5 months ago)
- Location:
- FalconView/trunk/public/Applications/FalconView
- Files:
-
- 5 modified
-
fvw.cpp (modified) (2 diffs)
-
fvw.h (modified) (1 diff)
-
fvw.rc (modified) (1 diff)
-
mainfrm.cpp (modified) (1 diff)
-
resource.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FalconView/trunk/public/Applications/FalconView/fvw.cpp
r1968 r2315 114 114 ON_COMMAND(ID_TOOLS_TEST, OnToolsTest) // added manually by DEP 31 July 96 115 115 ON_COMMAND(ID_SLAT_TOOL, OnSLAT) // added manually by WHS on 14 Mar 08 116 ON_COMMAND(ID_PLUGIN_MANAGER, OnPluginManager) // added manually by WHS on 9 Mar 2010 116 117 ON_COMMAND(ID_SAVE_ALL, OnSaveAll) 117 118 ON_UPDATE_COMMAND_UI(ID_SAVE_ALL, OnUpdateSaveAll) … … 1454 1455 1455 1456 1457 void CFVApp::OnPluginManager() 1458 { 1459 // use ShellExecute() to run PluginManager.exe located in Program Files\PFPS\falcon 1460 CString pluginmanager_path = PRM_get_registry_string("Main", "HD_DATA", "") + "\\..\\PluginManager.exe"; 1461 1462 ShellExecute(AfxGetMainWnd()->m_hWnd, "open", pluginmanager_path, NULL, NULL, SW_SHOWNORMAL); 1463 } 1464 1465 1466 1456 1467 ///////////////////////////////////////////////////////////////////////////// 1457 1468 // MRU file list default implementation -
FalconView/trunk/public/Applications/FalconView/fvw.h
r81 r2315 120 120 afx_msg void OnToolsTest(); 121 121 afx_msg void OnSLAT(); 122 afx_msg void OnPluginManager(); 122 123 afx_msg void OnPurgeRecentFileList(); 123 124 afx_msg void OnUpdatePurgeRecentFileList(CCmdUI* pCmdUI); -
FalconView/trunk/public/Applications/FalconView/fvw.rc
r2289 r2315 414 414 MENUITEM "Photo Geotagging Tools...", ID_PHOTO_GEOTAGGING_TOOL 415 415 MENUITEM "Solar Lunar Analysis Tool", ID_SLAT_TOOL 416 MENUITEM "Plugin Manager", ID_PLUGIN_MANAGER 416 417 END 417 418 POPUP "O&ptions" -
FalconView/trunk/public/Applications/FalconView/mainfrm.cpp
r2259 r2315 952 952 953 953 954 // check to see if the Plugin Manager is currently installed (check if PluginManager.exe exists in Program Files\PFPS\falcon); 955 // if the Plugin Manager is NOT installed, remove the Plugin Manager item from the Tools menu... 956 CString pluginmanager_path = PRM_get_registry_string("Main", "HD_DATA", "") + "\\..\\PluginManager.exe"; 957 if (!CFile::GetStatus(pluginmanager_path, status)) 958 { 959 // file does not exist, so remove the Plugin Manager item from the Tools menu... 960 if (pToolsMenu) 961 pToolsMenu->RemoveMenu(ID_PLUGIN_MANAGER, MF_BYCOMMAND); 962 } 963 964 954 965 // Add the "optional" menu items to the Tools menu as needed. 955 966 // In Debug builds, memory debugging items are added. -
FalconView/trunk/public/Applications/FalconView/resource.h
r2180 r2315 3054 3054 #define ID_TAB_EDIT_PASTE 35055 3055 3055 #define ID_MDM_SCALE_TO_EXTENTS 35056 3056 #define ID_TOOLS_PLUGINMANAGER 35057 3057 #define ID_PLUGIN_MANAGER 35058 3056 3058 #define IDRANGE_OVERLAY_VIEW_MENU_1 36000 3057 3059 #define IDRANGE_OVERLAY_VIEW_MENU_1000 37000 … … 3651 3653 #ifndef APSTUDIO_READONLY_SYMBOLS 3652 3654 #define _APS_NEXT_RESOURCE_VALUE 4816 3653 #define _APS_NEXT_COMMAND_VALUE 3505 73655 #define _APS_NEXT_COMMAND_VALUE 35059 3654 3656 #define _APS_NEXT_CONTROL_VALUE 4788 3655 3657 #define _APS_NEXT_SYMED_VALUE 34957
