From: <td...@us...> - 2003-07-02 12:20:35
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1:/tmp/cvs-serv12841 Modified Files: AnyEdit.dsp ChangeLog.txt MainFrm.cpp MainFrm.h ToDo.txt Log Message: Output window automatically is shown when a tool is run with the output window hidden Index: AnyEdit.dsp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.dsp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** AnyEdit.dsp 7 May 2003 05:37:29 -0000 1.14 --- AnyEdit.dsp 2 Jul 2003 12:20:32 -0000 1.15 *************** *** 380,387 **** # Begin Source File - SOURCE=.\FString.cpp - # End Source File - # Begin Source File - SOURCE=.\FuncComboBox.cpp # End Source File --- 380,383 ---- *************** *** 1121,1128 **** SOURCE=.\DumpHandleApp.h - # End Source File - # Begin Source File - - SOURCE=.\FString.h # End Source File # Begin Source File --- 1117,1120 ---- Index: ChangeLog.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ChangeLog.txt,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ChangeLog.txt 1 Jul 2003 05:35:15 -0000 1.21 --- ChangeLog.txt 2 Jul 2003 12:20:32 -0000 1.22 *************** *** 17,21 **** Find options are carried on between different files. 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] ! Beta 1.0 --- 17,21 ---- Find options are carried on between different files. 11) Changed all 'bool''s to BOOL which removes many performance warnings [Source change] ! 12) Output window automatically is shown when a tool is run with the output window hidden Beta 1.0 Index: MainFrm.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.cpp,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** MainFrm.cpp 8 May 2003 12:00:56 -0000 1.20 --- MainFrm.cpp 2 Jul 2003 12:20:32 -0000 1.21 *************** *** 119,122 **** --- 119,123 ---- ON_UPDATE_COMMAND_UI_RANGE(ID_VIEW_USER_TOOLBAR1, ID_VIEW_USER_TOOLBAR1 + iMaxUserToolbars - 1, OnUpdateToolsViewUserToolbar) ON_COMMAND_EX_RANGE(ID_USER_TOOL1, ID_USER_TOOL10, OnSelectedUserTools) + ON_UPDATE_COMMAND_UI_RANGE(ID_USER_TOOL1, ID_USER_TOOL10, OnUpdateUserTools) ON_COMMAND_EX_RANGE(ID_CUR_TOOL1, ID_CUR_TOOL5, OnCurrentUserTools) ON_REGISTERED_MESSAGE(BCGM_CUSTOMIZEHELP, OnHelpCustomizeToolbars) *************** *** 707,710 **** --- 708,716 ---- } + void CMainFrame::OnUpdateUserTools(CCmdUI* pCmdUI) + { + + } + void CMainFrame::OnUpdateToolsViewUserToolbar (CCmdUI* pCmdUI) { *************** *** 1099,1102 **** --- 1105,1114 ---- void CMainFrame::OnSelectedUserTools(UINT id) { + BOOL visible = (m_wndOutputBar.GetStyle () & WS_VISIBLE); + if(!visible) + { + OnViewOutput(); + } + m_ToolRunner.ExecuteTool(id,m_wndOutputBar.m_wndOutputBuild); } Index: MainFrm.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.h,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** MainFrm.h 8 May 2003 12:00:56 -0000 1.15 --- MainFrm.h 2 Jul 2003 12:20:32 -0000 1.16 *************** *** 159,162 **** --- 159,163 ---- afx_msg void OnMenuWsOpen(UINT id); afx_msg void OnUpdateToolsViewUserToolbar (CCmdUI* pCmdUI); + afx_msg void OnUpdateUserTools (CCmdUI* pCmdUI); afx_msg void OnSelectedUserTools(UINT id); afx_msg void OnCurrentUserTools(UINT id); Index: ToDo.txt =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ToDo.txt,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ToDo.txt 1 Jul 2003 05:35:15 -0000 1.12 --- ToDo.txt 2 Jul 2003 12:20:32 -0000 1.13 *************** *** 21,27 **** ============= - *) Automaticly open the output window when executing - a tool. The VB version of AnyEdit does this. - *) Show the tools name in the hint box. The VB version does this. --- 21,24 ---- *************** *** 71,75 **** >>>> ! Pop up function definitions would detect a preciously defined function from the file ( or external if possible ) and pop up a tool tip with the function definition in it with --- 68,72 ---- >>>> ! Pop up function definitions would detect a previously defined function from the file ( or external if possible ) and pop up a tool tip with the function definition in it with |