You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(30) |
Aug
(6) |
Sep
(3) |
Oct
(1) |
Nov
(13) |
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
(17) |
Mar
(7) |
Apr
(10) |
May
(34) |
Jun
(17) |
Jul
(150) |
Aug
(59) |
Sep
(186) |
Oct
(57) |
Nov
(45) |
Dec
(22) |
2005 |
Jan
(10) |
Feb
(10) |
Mar
(6) |
Apr
(24) |
May
(10) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(35) |
Nov
(12) |
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(1) |
Dec
|
From: boca4711 <boc...@us...> - 2004-11-27 15:15:17
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19465 Modified Files: Scintilla.h Log Message: Modified header file from scintilla 1.62 with addition of scrolling support Index: Scintilla.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/Scintilla.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Scintilla.h 18 May 2004 06:57:10 -0000 1.11 --- Scintilla.h 27 Nov 2004 15:15:05 -0000 1.12 *************** *** 584,587 **** --- 584,591 ---- #define SCI_AUTOCGETCURRENT 2445 #define SCI_ALLOCATE 2446 + #define SCI_TARGETASUTF8 2447 + #define SCI_SETLENGTHFORENCODE 2448 + #define SCI_ENCODEDFROMUTF8 2449 + #define SCI_FINDCOLUMN 2456 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 |
From: boca4711 <boc...@us...> - 2004-11-27 15:13:54
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19244 Modified Files: Platform.h SciLexer.h Log Message: Added header original header files from scintilla 1.62 Index: Platform.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/Platform.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Platform.h 19 Feb 2004 07:39:34 -0000 1.1 --- Platform.h 27 Nov 2004 15:13:45 -0000 1.2 *************** *** 65,69 **** int y; ! Point(int x_=0, int y_=0) : x(x_), y(y_) { } --- 65,69 ---- int y; ! explicit Point(int x_=0, int y_=0) : x(x_), y(y_) { } *************** *** 280,284 **** virtual ~Font(); ! virtual void Create(const char *faceName, int characterSet, int size, bool bold, bool italic); virtual void Release(); --- 280,285 ---- virtual ~Font(); ! virtual void Create(const char *faceName, int characterSet, int size, ! bool bold, bool italic, bool extraFontFlag=false); virtual void Release(); Index: SciLexer.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/SciLexer.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** SciLexer.h 10 May 2004 20:06:14 -0000 1.7 --- SciLexer.h 27 Nov 2004 15:13:45 -0000 1.8 *************** *** 78,81 **** --- 78,83 ---- #define SCLEX_APDL 61 #define SCLEX_BASH 62 + #define SCLEX_ASN1 63 + #define SCLEX_VHDL 64 #define SCLEX_AUTOMATIC 1000 #define SCE_P_DEFAULT 0 *************** *** 319,322 **** --- 321,325 ---- #define SCE_ERR_ABSF 18 #define SCE_ERR_TIDY 19 + #define SCE_ERR_JAVA_STACK 20 #define SCE_BAT_DEFAULT 0 #define SCE_BAT_COMMENT 1 *************** *** 499,502 **** --- 502,506 ---- #define SCE_CSS_DOUBLESTRING 13 #define SCE_CSS_SINGLESTRING 14 + #define SCE_CSS_IDENTIFIER2 15 #define SCE_POV_DEFAULT 0 #define SCE_POV_COMMENT 1 *************** *** 727,730 **** --- 731,735 ---- #define SCE_AU3_SENT 10 #define SCE_AU3_PREPROCESSOR 11 + #define SCE_AU3_SPECIAL 12 #define SCE_APDL_DEFAULT 0 #define SCE_APDL_COMMENT 1 *************** *** 732,739 **** #define SCE_APDL_NUMBER 3 #define SCE_APDL_STRING 4 ! #define SCE_APDL_WORD 5 ! #define SCE_APDL_COMMAND 6 #define SCE_APDL_PROCESSOR 7 ! #define SCE_APDL_FUNCTION 8 #define SCE_SH_DEFAULT 0 #define SCE_SH_ERROR 1 --- 737,748 ---- #define SCE_APDL_NUMBER 3 #define SCE_APDL_STRING 4 ! #define SCE_APDL_OPERATOR 5 ! #define SCE_APDL_WORD 6 #define SCE_APDL_PROCESSOR 7 ! #define SCE_APDL_COMMAND 8 ! #define SCE_APDL_SLASHCOMMAND 9 ! #define SCE_APDL_STARCOMMAND 10 ! #define SCE_APDL_ARGUMENT 11 ! #define SCE_APDL_FUNCTION 12 #define SCE_SH_DEFAULT 0 #define SCE_SH_ERROR 1 *************** *** 750,753 **** --- 759,788 ---- #define SCE_SH_HERE_DELIM 12 #define SCE_SH_HERE_Q 13 + #define SCE_ASN1_DEFAULT 0 + #define SCE_ASN1_COMMENT 1 + #define SCE_ASN1_IDENTIFIER 2 + #define SCE_ASN1_STRING 3 + #define SCE_ASN1_OID 4 + #define SCE_ASN1_SCALAR 5 + #define SCE_ASN1_KEYWORD 6 + #define SCE_ASN1_ATTRIBUTE 7 + #define SCE_ASN1_DESCRIPTOR 8 + #define SCE_ASN1_TYPE 9 + #define SCE_ASN1_OPERATOR 10 + #define SCE_VHDL_DEFAULT 0 + #define SCE_VHDL_COMMENT 1 + #define SCE_VHDL_COMMENTLINEBANG 2 + #define SCE_VHDL_NUMBER 3 + #define SCE_VHDL_STRING 4 + #define SCE_VHDL_OPERATOR 5 + #define SCE_VHDL_IDENTIFIER 6 + #define SCE_VHDL_STRINGEOL 7 + #define SCE_VHDL_KEYWORD 8 + #define SCE_VHDL_STDOPERATOR 9 + #define SCE_VHDL_ATTRIBUTE 10 + #define SCE_VHDL_STDFUNCTION 11 + #define SCE_VHDL_STDPACKAGE 12 + #define SCE_VHDL_STDTYPE 13 + #define SCE_VHDL_USERWORD 14 //--Autogenerated -- end of section automatically generated from Scintilla.iface |
From: Leon W. <moo...@us...> - 2004-11-25 13:12:42
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23801 Removed Files: ReadMe.txt Log Message: --- ReadMe.txt DELETED --- |
From: Leon W. <moo...@us...> - 2004-11-25 13:04:40
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21449 Modified Files: ScintillaEx.cpp Log Message: Improved autoindention. Index: ScintillaEx.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ScintillaEx.cpp,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** ScintillaEx.cpp 1 Nov 2004 14:16:32 -0000 1.19 --- ScintillaEx.cpp 25 Nov 2004 13:04:24 -0000 1.20 *************** *** 216,219 **** --- 216,221 ---- if (((scn->ch == '\r') || (scn->ch == '\n')) && (GetAutoIndent() >= 1)) AutoIndentIn(scn->ch); + else if ((scn->ch == '{') && (GetAutoIndent() >= 2)) + AutoIndentOut(scn->ch); else if ((scn->ch == '}') && (GetAutoIndent() >= 2)) AutoIndentOut(scn->ch); *************** *** 986,989 **** --- 988,992 ---- void CScintillaEx::AutoIndentIn(char ch) { + int iIndentation; // If we have EOLMode CRLF, then we AutoIndented on '\r' so we don't do it again on '\n' if((GetEOLMode() == SC_EOL_CRLF) && (ch == '\n')) *************** *** 991,995 **** // Let's get the indentation of the previous line. ! int iIndentation = GetLineIndentation( GetCurLineNumber() - 1 ); // May we do extra indentation? if( GetAutoIndent() >= 2 ) --- 994,1000 ---- // Let's get the indentation of the previous line. ! iIndentation = GetLineIndentation( GetCurLineNumber() - 1 ); ! // If the current line has bigger or the same indentation we don't have to do it. ! if( iIndentation < GetLineIndentation( GetCurLineNumber() ) ) return; // May we do extra indentation? if( GetAutoIndent() >= 2 ) *************** *** 1000,1005 **** if( GetEOLMode() == SC_EOL_CRLF ) --pos; ! // Do we have a '{' of ':' ! if( GetCharAt( pos ) == '{' || GetCharAt( pos ) == ':' ) { // Add an extra indent to the current line. --- 1005,1010 ---- if( GetEOLMode() == SC_EOL_CRLF ) --pos; ! // Do we have a '{', ')' or ':' ! if( GetCharAt( pos ) == '{' || GetCharAt( pos ) == ')' || GetCharAt( pos ) == ':' ) { // Add an extra indent to the current line. *************** *** 1017,1022 **** void CScintillaEx::AutoIndentOut(char ch) { // Get the indentation ! int iIndentation = GetLineIndentation( GetCurLineNumber() ); // Move indentation one indent back if (GetIndent() == 0) --- 1022,1032 ---- void CScintillaEx::AutoIndentOut(char ch) { + GetCharAt( GetCurrentPos() ); + // We only indent out if we are at the current indentation level. + // Or there are no characters before ch. + if( GetLineIndentPosition( GetCurLineNumber() ) != GetCurrentPos() - 1 ) return; + // Get the indentation ! int iIndentation = GetLineIndentation( GetCurLineNumber() - 1 ); // Move indentation one indent back if (GetIndent() == 0) |
From: Leon W. <moo...@us...> - 2004-11-25 12:56:13
|
Update of /cvsroot/anyedit/AnyEditBin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18827 Modified Files: SciLexer.dll Log Message: Upgrade to scintilla release 1.62 Index: SciLexer.dll =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/SciLexer.dll,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Binary files /tmp/cvsk8AEKm and /tmp/cvsKgrght differ |
From: boca4711 <boc...@us...> - 2004-11-21 16:47:25
|
Update of /cvsroot/anyedit/AnyEditToolkit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21335 Modified Files: AnyEditToolkit.xml Log Message: Added last changes Index: AnyEditToolkit.xml =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/AnyEditToolkit.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AnyEditToolkit.xml 1 Nov 2004 14:50:21 -0000 1.5 --- AnyEditToolkit.xml 21 Nov 2004 16:45:52 -0000 1.6 *************** *** 1,4 **** <?xml version="1.0" encoding="windows-1252"?> ! <TODOLIST FILEFORMAT="6" PROJECTNAME="AnyEditToolkit" NEXTUNIQUEID="56" LASTSORTBY="0" FILEVERSION="49" LASTSORTDIR="-1" LASTMODIFIED="2004-11-01"> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38257.91064815" TITLE="bugs" TIMEESTUNITS="H" ID="1" STARTDATE="38257.00000000" POS="1"> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38262.71917824" TITLE="CGuiButton" TIMEESTUNITS="H" COMMENTS="return result of selected item in context menu --- 1,4 ---- <?xml version="1.0" encoding="windows-1252"?> ! <TODOLIST FILEFORMAT="6" PROJECTNAME="AnyEditToolkit" NEXTUNIQUEID="56" LASTSORTBY="0" FILEVERSION="50" LASTSORTDIR="-1" LASTMODIFIED="2004-11-21"> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38257.91064815" TITLE="bugs" TIMEESTUNITS="H" ID="1" STARTDATE="38257.00000000" POS="1"> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38262.71917824" TITLE="CGuiButton" TIMEESTUNITS="H" COMMENTS="return result of selected item in context menu *************** *** 6,10 **** <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38262.64524306" TITLE="UNICODE" TIMEESTUNITS="H" COMMENTS="use TCHAR and _tcs... for string operations. " ID="14" PERCENTDONE="100" STARTDATE="38257.00000000" DONEDATESTRING="2004-10-02" POS="2" DONEDATE="38262.00000000"/> ! <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38257.89694444" TITLE="export CGuiMDIWindowsDlg" TIMEESTUNITS="H" ID="15" STARTDATE="38257.00000000" POS="3"/> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38263.78342593" TITLE="CGuiListEdit" TIMEESTUNITS="H" COMMENTS="complete implementation --- 6,10 ---- <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38262.64524306" TITLE="UNICODE" TIMEESTUNITS="H" COMMENTS="use TCHAR and _tcs... for string operations. " ID="14" PERCENTDONE="100" STARTDATE="38257.00000000" DONEDATESTRING="2004-10-02" POS="2" DONEDATE="38262.00000000"/> ! <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38312.73732639" TITLE="export CGuiMDIWindowsDlg" TIMEESTUNITS="H" ID="15" PERCENTDONE="100" STARTDATE="38257.00000000" DONEDATESTRING="2004-11-21" POS="3" DONEDATE="38312.73732639"/> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38263.78342593" TITLE="CGuiListEdit" TIMEESTUNITS="H" COMMENTS="complete implementation *************** *** 69,76 **** </TASK> <TASK STARTDATESTRING="2004-09-27" PRIORITY="5" TIMEESPENTUNITS="H" LASTMOD="38257.86872685" TITLE="missing features" TIMEESTUNITS="H" ID="3" STARTDATE="38257.00000000" POS="3"> ! <TASK STARTDATESTRING="2004-09-27" PRIORITY="5" TIMEESPENTUNITS="H" LASTMOD="38257.89146991" TITLE="print preview" TIMEESTUNITS="H" COMMENTS="BCG has an extended print preview. use MultiPage PrintPreview enhancements for MFC Doc/View applications ! http://www.codeproject.com/printing/enhancedprintpreview.asp" ID="18" STARTDATE="38257.00000000" POS="1"/> <TASK STARTDATESTRING="2004-09-24" PRIORITY="5" TIMEESPENTUNITS="H" LASTMOD="38254.92261574" TITLE="Accelerator Manager" TIMEESTUNITS="H" COMMENTS="http://www.codeguru.com/Cpp/misc/misc/article.php/c219 " ID="21" STARTDATE="38254.00000000" POS="2"/> --- 69,76 ---- </TASK> <TASK STARTDATESTRING="2004-09-27" PRIORITY="5" TIMEESPENTUNITS="H" LASTMOD="38257.86872685" TITLE="missing features" TIMEESTUNITS="H" ID="3" STARTDATE="38257.00000000" POS="3"> ! <TASK STARTDATESTRING="2004-09-27" PRIORITY="5" TIMEESPENTUNITS="H" LASTMOD="38312.73754630" TITLE="print preview" TIMEESTUNITS="H" COMMENTS="BCG has an extended print preview. use MultiPage PrintPreview enhancements for MFC Doc/View applications ! http://www.codeproject.com/printing/enhancedprintpreview.asp" ID="18" PERCENTDONE="100" STARTDATE="38257.00000000" DONEDATESTRING="2004-11-21" POS="1" DONEDATE="38312.73754630"/> <TASK STARTDATESTRING="2004-09-24" PRIORITY="5" TIMEESPENTUNITS="H" LASTMOD="38254.92261574" TITLE="Accelerator Manager" TIMEESTUNITS="H" COMMENTS="http://www.codeguru.com/Cpp/misc/misc/article.php/c219 " ID="21" STARTDATE="38254.00000000" POS="2"/> |
From: boca4711 <boc...@us...> - 2004-11-21 15:33:22
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22147/GuiLib Added Files: MultiPagePreview.cpp MultiPagePreview.h Log Message: Class for mulitpage print preview --- NEW FILE: MultiPagePreview.cpp --- // MultiPagePreview.cpp #include "stdafx.h" #include "MultiPagePreview.h" #include "resource.h" #include "MyDialogBar.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif IMPLEMENT_DYNCREATE(CMultiPagePreviewView, CPreviewView) CMultiPagePreviewView::CMultiPagePreviewView() { // replace the PAGE_INFO array with our one to make sure its large enough m_pPageInfo = m_pageInfoArray2; m_Across = 2 ; // default number of pages across the screen m_Down = 1 ; // default number of pages down the screen m_nPages = 2 ; // NOTE : If you change m_nPages outside of this code you will also need to modify // the m_Across and m_Down member vars to get the pages to show correctly } CMultiPagePreviewView::~CMultiPagePreviewView() { } BEGIN_MESSAGE_MAP(CMultiPagePreviewView, CPreviewView) //{{AFX_MSG_MAP(CMultiPagePreviewView) ON_COMMAND(AFX_ID_PREVIEW_NUMPAGE, OnNumPageChange) ON_COMMAND(AFX_ID_PREVIEW_ZOOMIN, OnZoomIn) ON_COMMAND(AFX_ID_PREVIEW_ZOOMOUT, OnZoomOut) ON_UPDATE_COMMAND_UI(AFX_ID_PREVIEW_NUMPAGE, OnUpdateNumPageChange) ON_UPDATE_COMMAND_UI(AFX_ID_PREVIEW_ZOOMIN, OnUpdateZoomIn) ON_UPDATE_COMMAND_UI(AFX_ID_PREVIEW_ZOOMOUT, OnUpdateZoomOut) ON_WM_CREATE() ON_WM_LBUTTONDOWN() ON_WM_SETCURSOR() ON_WM_MOUSEWHEEL() //}}AFX_MSG_MAP ON_WM_VSCROLL() ON_COMMAND(ID_PREVIEW_PAGES, OnPreviewPages) ON_COMMAND(IDC_LANDSCAPE, OnLandscape) ON_NOTIFY_EX(TTN_NEEDTEXT, 0, OnToolTipNotify) ON_COMMAND(IDC_PRINT_SETUP, OnPrintSetup) END_MESSAGE_MAP() BOOL CMultiPagePreviewView::PreCreateWindow(CREATESTRUCT& cs) { if (cs.lpszClass == NULL) { cs.lpszClass = AfxRegisterWndClass(CS_DBLCLKS|CS_HREDRAW|CS_VREDRAW|CS_BYTEALIGNCLIENT); } return CView::PreCreateWindow(cs); } #ifdef _DEBUG void CMultiPagePreviewView::AssertValid() const { // Bug nearby Article ID: Q192853 // CPreviewView::AssertValid(); } void CMultiPagePreviewView::Dump(CDumpContext& dc) const { TRACE(_T("Dump\n")) ; CPreviewView::Dump(dc); } #endif //_DEBUG BOOL CMultiPagePreviewView::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) { if (nHitTest != HTCLIENT) { return CScrollView::OnSetCursor(pWnd, nHitTest, message); } CPoint point; ::GetCursorPos(&point); ScreenToClient(&point); // client coordinates of mouse position UINT nPage; if (m_nZoomState != ZOOM_IN_400 && FindPageRect(point, nPage)) { // On a page and not zoomed all the way in if (m_hMagnifyCursor == NULL) { HINSTANCE hInst = AfxFindResourceHandle(MAKEINTRESOURCE(AFX_IDC_MAGNIFY), RT_GROUP_CURSOR); m_hMagnifyCursor = ::LoadCursor(hInst,MAKEINTRESOURCE(AFX_IDC_MAGNIFY)); } ::SetCursor(m_hMagnifyCursor); } else { ::SetCursor(::LoadCursor(NULL, IDC_ARROW)); } return 0; } void CMultiPagePreviewView::OnLButtonDown(UINT, CPoint point) { UINT nPage; if (!FindPageRect(point, nPage)) { return; // Didn't click on a page } // Set new zoom state SetZoomState((m_nZoomState == ZOOM_IN_400) ? ZOOM_OUT : m_nZoomState + 1, nPage, point); if (m_nZoomState == ZOOM_OUT) { // make sure the current page does not cause blank pages to be shown if (m_nCurrentPage >= m_pPreviewInfo->GetMaxPage() - m_nPages) { m_nCurrentPage = m_pPreviewInfo->GetMaxPage() - m_nPages + 1; } if (m_nCurrentPage < 0) { m_nCurrentPage = 0 ; } } } void CMultiPagePreviewView::SetZoomState(UINT nNewState, UINT nPage, CPoint point) { if (m_nZoomState != nNewState) { m_nZoomState = nNewState; DoZoom(nPage, point); } } // Actual zoom code. void CMultiPagePreviewView::DoZoom(UINT nPage, CPoint point) { if (m_nZoomState == ZOOM_OUT) { // taking over scroll bars m_nPages = m_nZoomOutPages; ShowScrollBar(SB_HORZ, FALSE); // hide the horizontal bar BOOL bShowBar = m_pPreviewInfo->GetMaxPage() < 0x8000 && m_pPreviewInfo->GetMaxPage() - m_pPreviewInfo->GetMinPage() <= 32767U; ShowScrollBar(SB_VERT, bShowBar); // Show the vertical bar if (bShowBar) { SCROLLINFO info; info.fMask = SIF_PAGE | SIF_RANGE; info.nMin = m_pPreviewInfo->GetMinPage(); info.nMax = m_pPreviewInfo->GetMaxPage(); info.nPage = 1; if (!SetScrollInfo(SB_VERT, &info, FALSE)) { SetScrollRange(SB_VERT, info.nMin, info.nMax, FALSE); } } SetCurrentPage(m_nCurrentPage, TRUE); SetupScrollbar() ; } else { m_nPages = 1; // only one page in zoomed states m_pPageInfo[0].sizeZoomOutRatio = m_pPageInfo[nPage].sizeZoomOutRatio; m_pPageInfo[0].sizeUnscaled = m_pPageInfo[nPage].sizeUnscaled; // Sets the printer page SetCurrentPage(m_nCurrentPage + nPage, FALSE); SetScaledSize(0); CSize* pRatio = &m_pPageInfo[nPage].sizeScaleRatio; // convert Hit Point from screen 1:1 point.x = MulDiv(point.x, pRatio->cx, pRatio->cy); point.y = MulDiv(point.y, pRatio->cx, pRatio->cy); // Adjust point for page position point += (CSize)m_pPageInfo[0].rectScreen.TopLeft(); // Scroll to center CenterOnPoint(point); } } void CMultiPagePreviewView::PositionPage(UINT nPage) { CSize windowSize = CalcPageDisplaySize(); VERIFY(m_dcPrint.Escape(GETPHYSPAGESIZE, 0, NULL, (LPVOID)&m_pPageInfo[nPage].sizeUnscaled)); CSize* pSize = &m_pPageInfo[nPage].sizeUnscaled; // Convert page size to screen coordinates pSize->cx = MulDiv(pSize->cx, afxData.cxPixelsPerInch, m_sizePrinterPPI.cx); pSize->cy = MulDiv(pSize->cy, afxData.cyPixelsPerInch, m_sizePrinterPPI.cy); m_pPageInfo[nPage].sizeZoomOutRatio = CalcScaleRatio(windowSize, *pSize); SetScaledSize(nPage); } #define PREVIEW_MARGIN 8 #define PREVIEW_PAGEGAP 8 void CMultiPagePreviewView::SetScaledSize(UINT nPage) { CSize* pSize = &m_pPageInfo[nPage].sizeUnscaled; CSize* pRatio = &m_pPageInfo[nPage].sizeScaleRatio; CSize* pZoomOutRatio = &m_pPageInfo[nPage].sizeZoomOutRatio; CSize windowSize = CalcPageDisplaySize(); BOOL bPaperLarger = pZoomOutRatio->cx < pZoomOutRatio->cy; // whether the paper is larger than the screen, or vice versa switch (m_nZoomState) { case ZOOM_OUT: *pRatio = *pZoomOutRatio; break; case ZOOM_MIDDLE: // the middle zoom state is a ratio between cx/cy and // 1/1 (or cy/cy). It is, therefore: // // (cx + cy)/2 // ----------- // cy // // if the paper is larger than the screen, or // // (3*cx - cy)/2 // ------------- // cy // // if the paper is smaller than the screen. if (bPaperLarger) { pRatio->cy = pZoomOutRatio->cy; pRatio->cx = (pZoomOutRatio->cx + pRatio->cy) / 2; } else { pRatio->cy = pZoomOutRatio->cy; pRatio->cx = (3*pZoomOutRatio->cx - pRatio->cy) / 2; } break; case ZOOM_IN: if (bPaperLarger) { pRatio->cx = pRatio->cy = 1; } else { // if the paper is smaller than the screen space we're displaying // it in, then using a ratio of 1/1 will result in a smaller image // on the screen, not a larger one. To get a larger image in this // case we double the zoom out ratio. pRatio->cy = pZoomOutRatio->cy; pRatio->cx = 2*pZoomOutRatio->cx - pZoomOutRatio->cy; } break; case ZOOM_IN_150: pRatio->cx = 15; pRatio->cy = 10; break; case ZOOM_IN_200: pRatio->cx = 25; pRatio->cy = 10; break; case ZOOM_IN_400: pRatio->cx = 4; pRatio->cy = 1; break; default: ASSERT(FALSE); } // Convert to scaled size CSize scaledSize; scaledSize.cx = MulDiv(pSize->cx, pRatio->cx, pRatio->cy); scaledSize.cy = MulDiv(pSize->cy, pRatio->cx, pRatio->cy); CRect* pRect = &m_pPageInfo[nPage].rectScreen; pRect->SetRect(PREVIEW_MARGIN, PREVIEW_MARGIN, scaledSize.cx + PREVIEW_MARGIN + 3, scaledSize.cy + PREVIEW_MARGIN + 3); if (m_nZoomState == ZOOM_OUT) { pRect->OffsetRect((windowSize.cx - pRect->Size().cx) / 2 - 1, (windowSize.cy - pRect->Size().cy) / 2 - 1); // we need to offste the page multiple times int local = nPage % m_Across ; while (local-- >= 1) { pRect->OffsetRect(m_PageOffset.x, 0); } local = nPage / m_Across ; while (local-- > 0) { pRect->OffsetRect(0, m_PageOffset.y); } } else { // set up scroll size SetScrollSizes(MM_TEXT, pRect->Size() + CSize(PREVIEW_MARGIN * 2, PREVIEW_MARGIN * 2), windowSize); } } ///////////////////////////////////////////////////////////////////////////// // CMultiPagePreviewView void CMultiPagePreviewView::OnUpdateNumPageChange(CCmdUI* pCmdUI) { // button has been removed from toolbar //UINT nPages = m_nZoomState == ZOOM_OUT ? m_nPages : m_nZoomOutPages; //pCmdUI->Enable(m_nZoomState == ZOOM_OUT && m_nMaxPages != 1 && (m_pPreviewInfo->GetMaxPage() > 1 || m_nPages > 1)); // CPreviewView::OnUpdateNumPageChange(pCmdUI); } void CMultiPagePreviewView::OnUpdateZoomIn(CCmdUI* pCmdUI) { pCmdUI->Enable(m_nZoomState != ZOOM_IN_400); } void CMultiPagePreviewView::OnUpdateZoomOut(CCmdUI* pCmdUI) { pCmdUI->Enable(m_nZoomState != ZOOM_OUT); } void CMultiPagePreviewView::OnNumPageChange() { // doesn't do anything any more // button has been removed from toolbar } void CMultiPagePreviewView::OnZoomIn() { if (m_nZoomState != ZOOM_IN_400) { SetZoomState(m_nZoomState + 1, 0, CPoint(0, 0)); } } void CMultiPagePreviewView::OnZoomOut() { if (m_nZoomState != ZOOM_OUT) { SetZoomState(m_nZoomState - 1, 0, CPoint(0, 0)); } if (m_nZoomState == ZOOM_OUT) { // make sure the current page does not cause blank pages to be shown if (m_nCurrentPage >= m_pPreviewInfo->GetMaxPage() - m_nPages) m_nCurrentPage = m_pPreviewInfo->GetMaxPage() - m_nPages + 1; if (m_nCurrentPage < 0) m_nCurrentPage = 0; } } int CMultiPagePreviewView::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CPreviewView::OnCreate(lpCreateStruct) == -1) { return -1; } // Switch to our CDialogBar derived class to get the mouse wheel working m_pToolBar->DestroyWindow(); m_pToolBar = NULL; m_pToolBar = new CMyDialogBar; CFrameWnd* pParent = STATIC_DOWNCAST(CFrameWnd, AfxGetMainWnd()); if (!m_pToolBar->Create(pParent, MAKEINTRESOURCE(IDD_PREVIEW), CBRS_TOP, AFX_IDW_PREVIEW_BAR)) { TRACE0("Error: Preview could not create toolbar dialog.\n"); delete m_pToolBar; // not autodestruct yet m_pToolBar = NULL; return FALSE; } CMyDialogBar *pMyDialogBar = static_cast<CMyDialogBar*>(m_pToolBar); ASSERT(pMyDialogBar); pMyDialogBar->SetViewPointer(this); // so we can get mouse wheel messages m_pToolBar->m_bAutoDelete = TRUE; // automatic cleanup m_pToolBar->EnableToolTips( TRUE ); // make the buttons on the dialog bar bitmap buttons m_print.AutoLoad( AFX_ID_PREVIEW_PRINT, m_pToolBar, IDB_PREV_PRINT ); m_printSetup.AutoLoad(IDC_PRINT_SETUP, m_pToolBar, IDB_PREV_PRINT_SETUP); m_next.AutoLoad( AFX_ID_PREVIEW_NEXT, m_pToolBar, IDB_PREV_NEXT ); m_previous.AutoLoad( AFX_ID_PREVIEW_PREV, m_pToolBar, IDB_PREV_PREVIOUS ); m_zoomIn.AutoLoad( AFX_ID_PREVIEW_ZOOMIN, m_pToolBar, IDB_PREV_ZOOMIN ); m_zoomOut.AutoLoad( AFX_ID_PREVIEW_ZOOMOUT, m_pToolBar, IDB_PREV_ZOOMOUT ); m_pages.AutoLoad(ID_PREVIEW_PAGES, m_pToolBar, IDB_PAGES ); if (GetPrintOrientation() == DMORIENT_LANDSCAPE) { // check the landscape button CWnd *pWnd = m_pToolBar->GetDlgItem(IDC_LANDSCAPE); ASSERT(pWnd); // the item should exist in the toolbar. If this assert check your resources CButton *pButton = static_cast<CButton*>(pWnd); // get a pointer to the button ASSERT(pButton); // not a button object? If it asserts, then wrong control type in toolbar resource pButton->SetCheck(1); // set the check mark } return 0; } CSize CMultiPagePreviewView::CalcPageDisplaySize() // calculate the current page size // MFC used to set 'm_nSecondPageOffset' to start of second page // as we have multiple pages we use m_PageOffset which holds the // diferences across and down the pages // return size of current page less margins { // just checking... ASSERT(m_Down >= 1) ; ASSERT(m_Across >= 1) ; ASSERT(m_nPages >= 1) ; CSize windowSize, scrollSize; GetTrueClientSize(windowSize, scrollSize); // subtract out vertical scrollbar if zoomed out and page range is known // and there is more than one page. if (m_nZoomState == ZOOM_OUT && (m_pPreviewInfo->GetMaxPage() != 0xffff) && (m_pPreviewInfo->GetMaxPage() - m_pPreviewInfo->GetMinPage() != 0)) { windowSize.cx -= scrollSize.cx; } m_PageOffset.y = 0 ; if (m_Down > 1) { // we need to make room for more pages under the first windowSize.cy = (windowSize.cy - (PREVIEW_MARGIN * (m_Down - 1))) / m_Down ; m_PageOffset.y = windowSize.cy + PREVIEW_MARGIN ; } else { // its a single page down, it uses all the area previouslyy calculated } if (m_Across <= 2) { m_PageOffset.x = (windowSize.cx - PREVIEW_MARGIN) / 2; } else { m_PageOffset.x = (windowSize.cx - PREVIEW_MARGIN) / m_Across ; } // make sure all pages across fit in the screen area windowSize.cx = (windowSize.cx - ((m_Across + 1) * PREVIEW_MARGIN)) / m_Across ; //windowSize.cx = (m_nPages == 2) ? (windowSize.cx - 3*PREVIEW_MARGIN) / 2 : // windowSize.cx - 2*PREVIEW_MARGIN; windowSize.cy -= 2*PREVIEW_MARGIN; return windowSize; } void CMultiPagePreviewView::OnPreviewPages() { CPoint point ; CRect rect ; CWnd *pWnd = m_pToolBar->GetDlgItem(ID_PREVIEW_PAGES) ; if (pWnd != NULL) { // place the menu just below the button pWnd->GetWindowRect(&rect) ; point = CPoint(rect.left, rect.bottom) ; } else { ::GetCursorPos(&point) ; // failed to get window, use the mouse position } CMenu menu ; CMenu *pSub ; // popup a menu to get the number of pages to display VERIFY(menu.LoadMenu(IDR_PREVIEW_PAGES)) ; pSub = menu.GetSubMenu(0) ; // NOTE : If you need to enable or disable the menu items in this list based on the number of // pages in your printout, you can either do it here before the menu is diaplyed, or write a handler // for the WM_INITMENUPOPUP message and configure the enabled/disabled state at that point. int command = pSub->TrackPopupMenu(TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_RETURNCMD, point.x, point.y, this) ; switch (command) { case ID_PAGES_1PAGE : m_Across = 1 ; m_Down = 1 ; m_nPages = 1 ; break ; case ID_PAGES_2PAGES : m_Across = 2 ; m_Down = 1 ; m_nPages = 2 ; break ; case ID_PAGES_3PAGES : m_Across = 3 ; m_Down = 1 ; m_nPages = 3 ; break ; case ID_PAGES_4PAGES : m_Across = 2 ; m_Down = 2 ; m_nPages = 4 ; break ; case ID_PAGES_6PAGES : m_Across = 3 ; m_Down = 2 ; m_nPages = 6 ; break ; case ID_PAGES_9PAGES : m_Across = 3 ; m_Down = 3 ; m_nPages = 9 ; break ; default : return ; } AfxGetApp()->m_nNumPreviewPages = m_nPages; m_nZoomOutPages = m_nPages; m_nMaxPages = m_nPages ; if (m_nZoomState == ZOOM_OUT) { // make sure the current page does not cause blank pages to be shown if (m_nCurrentPage >= m_pPreviewInfo->GetMaxPage() - m_nPages) { m_nCurrentPage = m_pPreviewInfo->GetMaxPage() - m_nPages + 1; } if (m_nCurrentPage < 0) { m_nCurrentPage = 0 ; } } // Just do this to set the status correctly and invalidate SetCurrentPage(m_nCurrentPage, TRUE); SetupScrollbar() ; } void CMultiPagePreviewView::SetupScrollbar() { // this procedure makes sure that the scroll bar does not allow us to scroll the window // such that we end up displaying blank pages // correctly range the scroll bars if (m_pPreviewInfo->GetMaxPage() < 0x8000 && m_pPreviewInfo->GetMaxPage() - m_pPreviewInfo->GetMinPage() <= 32767U) { SCROLLINFO info; info.fMask = SIF_PAGE|SIF_RANGE; info.nMin = m_pPreviewInfo->GetMinPage(); info.nMax = m_pPreviewInfo->GetMaxPage() - (m_nPages - 1) ; info.nPage = 1; if (!SetScrollInfo(SB_VERT, &info, FALSE)) { SetScrollRange(SB_VERT, info.nMin, info.nMax, FALSE); } } else { ShowScrollBar(SB_VERT, FALSE); // if no range specified, or too } } void CMultiPagePreviewView::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) { if (m_nZoomState != ZOOM_OUT) { CScrollView::OnVScroll(nSBCode, nPos, pScrollBar); return; } SetupScrollbar() ; switch (nSBCode) { case SB_BOTTOM: SetCurrentPage(m_pPreviewInfo->GetMaxPage(), TRUE); break; case SB_TOP: SetCurrentPage(m_pPreviewInfo->GetMinPage(), TRUE); break; case SB_PAGEDOWN: SetCurrentPage(m_nCurrentPage + (m_pPreviewInfo->GetMaxPage() - m_pPreviewInfo->GetMinPage() + 9) / 10, TRUE); break; case SB_PAGEUP: SetCurrentPage(m_nCurrentPage - (m_pPreviewInfo->GetMaxPage() - m_pPreviewInfo->GetMinPage() + 9) / 10, TRUE); break; case SB_LINEDOWN: if (m_nCurrentPage <= m_pPreviewInfo->GetMaxPage() - m_nPages) SetCurrentPage(m_nCurrentPage + 1, TRUE); break; case SB_LINEUP: if (m_nCurrentPage > 0) SetCurrentPage(m_nCurrentPage - 1, TRUE); break; case SB_THUMBPOSITION: SetCurrentPage(nPos, TRUE); break; } } void CMultiPagePreviewView::OnLandscape() { // switch the preview DC between lanscape and portrait mode. // we also need to setup the app printer defaults to switch between portrait and // landscape, so any print action will use the correct settings // we need to delete the current printer DC and setup a new one after changing the print mode bewteen landscape / portrait CWnd *pWnd = m_pToolBar->GetDlgItem(IDC_LANDSCAPE) ; ASSERT(pWnd) ; // the item should exist in the toolbar. If this assert check your resources CButton *pButton = static_cast<CButton*>(pWnd) ; // get a pointer to the button ASSERT(pButton) ; // not a button object? If it asserts, then wrong control type in toolbar resource int state = pButton->GetCheck() ; // portrait or landscape mode? int old_page = m_nCurrentPage; // save page number as it gets reset // call the OnEndPrinting as required // m_pPrintView->OnEndPrinting(m_pPreviewDC, m_pPreviewInfo); // get the current CPrintInfo object m_dcPrint.Detach(); // print DC is deleted by CPrintInfo destructor delete m_pPreviewInfo; m_pPreviewInfo = NULL; delete m_pPreviewDC; m_pPreviewDC = NULL; // switch the print mode SetPrintOrientation(state ? DMORIENT_LANDSCAPE : DMORIENT_PORTRAIT); SetPrintView(m_pPrintView); // sets up new DC's and print info structure m_nCurrentPage = old_page; // restore as gets reset SetupScrollbar(); } // use the mouse wheel to scroll either through the pages // or scroll through the zoomed in page. BOOL CMultiPagePreviewView::OnMouseWheel(UINT nFlags, short zDelta, CPoint pt) { CPoint position; if (m_nZoomState != ZOOM_OUT && !(nFlags & MK_CONTROL)) { position = GetScrollPosition(); // scrolling up / down position -= CPoint(0, zDelta); CPreviewView::ScrollToPosition(position); } else { // scroll selected pages if (zDelta > 0 && m_nCurrentPage > 1) { OnPrevPage(); } else if (zDelta < 0 && m_nCurrentPage < m_pPreviewInfo->GetMaxPage() - (m_nPages - 1)) { OnNextPage(); } } return TRUE; } BOOL CMultiPagePreviewView::OnToolTipNotify(UINT, NMHDR *pNMHDR, LRESULT*) { TOOLTIPTEXT *pTTT = (TOOLTIPTEXT *)pNMHDR; if (pTTT->uFlags & TTF_IDISHWND) { // idFrom is actually the HWND of the tool UINT nID = ::GetDlgCtrlID((HWND)pNMHDR->idFrom); pTTT->lpszText = NULL; switch (nID) { case AFX_ID_PREVIEW_PRINT : pTTT->lpszText = _T("Print the report"); break; case AFX_ID_PREVIEW_NEXT : pTTT->lpszText = _T("Move to next page"); break; case AFX_ID_PREVIEW_PREV : pTTT->lpszText = _T("Move to previous page"); break; case ID_PREVIEW_PAGES : pTTT->lpszText = _T("Select the number of pages to preview at a time"); break; case AFX_ID_PREVIEW_ZOOMIN : pTTT->lpszText = _T("Zoom in"); break; case AFX_ID_PREVIEW_ZOOMOUT : pTTT->lpszText = _T("Zoom out"); break; case AFX_ID_PREVIEW_CLOSE : pTTT->lpszText = _T("Close print preview mode"); break; case IDC_LANDSCAPE : pTTT->lpszText = _T("Switch between portrait and landscape print orientation"); break; case IDC_PRINT_SETUP: pTTT->lpszText = _T("Print setup"); break; default : pTTT->lpszText = _T("Unrecognised control ID"); break; } return TRUE; } return FALSE; } int CMultiPagePreviewView::GetPrintOrientation() const { PRINTDLG pd; int orientation; pd.lStructSize = (DWORD)sizeof(PRINTDLG); BOOL bRet = AfxGetApp()->GetPrinterDeviceDefaults(&pd); if (bRet) { // protect memory handle with ::GlobalLock and ::GlobalUnlock DEVMODE *pDevMode = (DEVMODE*)::GlobalLock(pd.hDevMode); orientation = pDevMode->dmOrientation; ::GlobalUnlock(pd.hDevMode) ; } return orientation; } bool CMultiPagePreviewView::SetPrintOrientation(int mode) const { PRINTDLG pd; pd.lStructSize = (DWORD)sizeof(PRINTDLG); BOOL bRet = AfxGetApp()->GetPrinterDeviceDefaults(&pd); if (bRet) { switch (mode) { case DMORIENT_PORTRAIT : { // portrait mode LPDEVMODE pDevMode = (LPDEVMODE)::GlobalLock(pd.hDevMode) ; // set orientation to portrait pDevMode->dmOrientation = DMORIENT_PORTRAIT ; ::GlobalUnlock(pd.hDevMode) ; } break ; case DMORIENT_LANDSCAPE : { // landscape mode LPDEVMODE pDevMode = (LPDEVMODE)::GlobalLock(pd.hDevMode) ; // set orientation to landscape pDevMode->dmOrientation = DMORIENT_LANDSCAPE ; ::GlobalUnlock(pd.hDevMode) ; } break ; default : ASSERT(FALSE) ; // invalid parameter return false ; } return true ; } return false; } void CMultiPagePreviewView::OnPrintSetup() { CWinApp *pApp = AfxGetApp(); CPrintDialog pd(TRUE); if (pApp->DoPrintDialog(&pd)) { // call the OnEndPrinting as required // m_pPrintView->OnEndPrinting(m_pPreviewDC, m_pPreviewInfo); CPrintInfo *pInfo = m_pPreviewInfo; m_pPreviewInfo = NULL; m_dcPrint.Detach(); // print DC is deleted by CPrintInfo destructor delete pInfo; SetPrintView(m_pPrintView); CWnd *pWnd = m_pToolBar->GetDlgItem(IDC_LANDSCAPE); ASSERT(pWnd); // the item should exist in the toolbar. If this assert check your resources CButton *pButton = static_cast<CButton*>(pWnd); // get a pointer to the button ASSERT(pButton); // not a button object? If it asserts, then wrong control type in toolbar resource if (GetPrintOrientation() == DMORIENT_LANDSCAPE) { // check the landscape button pButton->SetCheck(1); // set the check mark } else { pButton->SetCheck(0); // clear the check mark } } } void CMultiPagePreviewView::OnDraw(CDC* pDC) { //Set the number of displayed pages to avoid MFC to display a blank page at the end... int OldnPages = m_nPages; m_nPages=min(m_nPages, max(1, m_pPreviewInfo->GetMaxPage() - m_nCurrentPage + 1)); CPreviewView::OnDraw(pDC); m_nPages = OldnPages; } --- NEW FILE: MultiPagePreview.h --- #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #include "mappedbitmapbutton.h" #include "afxpriv.h" // #include <..\src\afximpl.h> // override MFC class class GUILIBDLLEXPORT CMultiPagePreviewView : public CPreviewView { DECLARE_DYNCREATE(CMultiPagePreviewView) protected: CMultiPagePreviewView(); virtual ~CMultiPagePreviewView(); public: // override private: // these variables are used in the page layout algorithm int m_Across; // number across the page, >= 1 int m_Down; // number down the page, >= 1 CPoint m_PageOffset; // amount to move the page from one position to the next // bitmapped buttons in toolbar CMappedBitmapButton m_print; CMappedBitmapButton m_printSetup; CMappedBitmapButton m_next; CMappedBitmapButton m_previous; CMappedBitmapButton m_zoomIn; CMappedBitmapButton m_zoomOut; CMappedBitmapButton m_pages; //{{AFX_VIRTUAL(CMultiPagePreviewView) protected: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void OnDraw(CDC* pDC); //}}AFX_VIRTUAL protected: virtual void PositionPage(UINT nPage); void SetScaledSize(UINT nPage); void DoZoom(UINT nPage, CPoint point); void SetZoomState(UINT nNewState, UINT nPage, CPoint point); CSize CalcPageDisplaySize() ; void SetupScrollbar() ; int GetPrintOrientation() const; bool SetPrintOrientation(int mode) const; // note that is you change the maximum number of pages that can be displayed in preview mode // you have to increase the size of this array to make sure there is an entry available for every // possible page that can be shown at once. PAGE_INFO m_pageInfoArray2[9]; // Embedded array for the default implementation - replaces MFC one of size 2! #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: //{{AFX_MSG(CMultiPagePreviewView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnNumPageChange(); afx_msg void OnZoomIn(); afx_msg void OnZoomOut(); afx_msg void OnUpdateNumPageChange(CCmdUI* pCmdUI); afx_msg void OnUpdateZoomIn(CCmdUI* pCmdUI); afx_msg void OnUpdateZoomOut(CCmdUI* pCmdUI); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message); afx_msg void OnPreviewPages(); //}}AFX_MSG afx_msg BOOL OnToolTipNotify(UINT id, NMHDR *pNMHDR, LRESULT * pResult); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) ; afx_msg void OnLandscape() ; afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt); afx_msg void OnPrintSetup(); DECLARE_MESSAGE_MAP() }; // the additional zoom level factors that we support when zoomed in // the default MFC range is 0 (ZOOMED_OUT), 1 and 2 #define ZOOM_IN_150 3 #define ZOOM_IN_200 4 #define ZOOM_IN_400 5 //{{AFX_INSERT_LOCATION}} |
From: boca4711 <boc...@us...> - 2004-11-21 15:01:17
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21963/GuiLib Added Files: MappedBitmapButton.cpp MappedBitmapButton.h Log Message: Button class for print preview --- NEW FILE: MappedBitmapButton.h --- // MappedBitmapButton.h : header file // #ifndef __MappedBitmapButton_h__ #define __MappedBitmapButton_h__ ///////////////////////////////////////////////////////////////////////////// // CMappedBitmapButton window // Usage -- a replacement for the MFC CBitmapButton // 1. include an owner-draw button in your dialog // 2. declare a CMappedBitmapButton member in the CDialog code // 3. hook in the CMappedBitmapButton using a call to AutoLoad // // the bitmap resource specified in AutoLoad must be divisable into // 4 equally sized images that represent (left to right) the // up, down, focused and disabled states of the button class CMappedBitmapButton : public CButton { // Construction public: DECLARE_DYNAMIC( CMappedBitmapButton ) CMappedBitmapButton(); // Attributes public: protected: CImageList m_image; UINT m_idResource; // Operations public: BOOL LoadBitmap( UINT idBitmapResource ); void SizeToContent(); BOOL AutoLoad(UINT nID, CWnd* pParent, UINT idBitmapResource); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMappedBitmapButton) public: virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct); //}}AFX_VIRTUAL // Implementation public: virtual ~CMappedBitmapButton(); // Generated message map functions protected: //{{AFX_MSG(CMappedBitmapButton) afx_msg void OnSysColorChange(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// #endif //#ifndef __MappedBitmapButton_h__ --- NEW FILE: MappedBitmapButton.cpp --- // MappedBitmapButton.cpp : implementation file // // Draws color-correct buttons // // Copyright (c) 1999 Robin J. Leatherbarrow, Erithacus Software Limited // // Use and distribute freely, except: don't remove my name from the // source or documentation, mark your changes, don't alter // or remove this notice. // No warrantee of any kind, express or implied, is included with this // software; use at your own risk, responsibility for damages (if any) to // anyone resulting from the use of this software rests entirely with the // user. // // Send bug reports, bug fixes, enhancements, requests, flames, etc., // and I'll try to keep a version up to date. I can be reached at: // ro...@er... // // Usage -- a replacement for the MFC CBitmapButton // 1. include an owner-draw button in your dialog // 2. declare a CMappedBitmapButton member in the CDialog code // 3. hook in the CMappedBitmapButton using a call to AutoLoad // // the bitmap resource specified in AutoLoad must be divisable into // 4 equally sized images that represent (left to right) the // up, down, focused and disabled states of the button #include "stdafx.h" #include "MappedBitmapButton.h" IMPLEMENT_DYNAMIC( CMappedBitmapButton, CButton ) #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CMappedBitmapButton CMappedBitmapButton::CMappedBitmapButton() { m_idResource = (UINT)-1; } CMappedBitmapButton::~CMappedBitmapButton() { } BEGIN_MESSAGE_MAP(CMappedBitmapButton, CButton) //{{AFX_MSG_MAP(CMappedBitmapButton) ON_WM_SYSCOLORCHANGE() //}}AFX_MSG_MAP END_MESSAGE_MAP() BOOL CMappedBitmapButton::LoadBitmap( UINT idBitmapResource ) { m_image.DeleteImageList(); m_idResource = idBitmapResource; CBitmap bitImage; if (!bitImage.LoadMappedBitmap( idBitmapResource )) { ASSERT( FALSE ); // failed to load the bitmap. Does this resource ID exist? return FALSE; } BITMAP bm; if (0==bitImage.GetBitmap( &bm )) return FALSE; // we don't use a mask for the bitmaps in this case UINT flags = 0; if (bm.bmBitsPixel <= 4) flags |= ILC_COLOR4; else if (bm.bmBitsPixel <= 8) flags |= ILC_COLOR8; else if (bm.bmBitsPixel <= 16) flags |= ILC_COLOR16; else flags |= ILC_COLOR24; // image should contain EXACTLY four subimages ASSERT( bm.bmWidth % 4 == 0 ); if (!m_image.Create( bm.bmWidth/4, bm.bmHeight, flags, 4, 0 )) return FALSE; // the mask bitmap will be ignored here, so use the bitImage for both if (-1 == m_image.Add( &bitImage, &bitImage )) return FALSE; return TRUE; } // SizeToContent will resize the button to the size of the bitmap void CMappedBitmapButton::SizeToContent() { ASSERT(m_image.GetImageCount() == 4); IMAGEINFO info; VERIFY( m_image.GetImageInfo( 0, &info ) ); VERIFY(SetWindowPos(NULL, -1, -1, info.rcImage.right, info.rcImage.bottom, SWP_NOMOVE|SWP_NOZORDER|SWP_NOREDRAW|SWP_NOACTIVATE)); } // Autoload will load the bitmap resources BOOL CMappedBitmapButton::AutoLoad(UINT nID, CWnd* pParent, UINT idBitmapResource) { // first attach the CMappedBitmapButton to the dialog control if (!SubclassDlgItem(nID, pParent)) return FALSE; if (!LoadBitmap(idBitmapResource)) return FALSE; // size to content SizeToContent(); return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CMappedBitmapButton message handlers void CMappedBitmapButton::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) { ASSERT(lpDrawItemStruct != NULL); ASSERT(m_image.GetImageCount() == 4); // images are: // 0 = up // 1 = down // 2 = focused // 3 = disabled int image = 0; UINT state = lpDrawItemStruct->itemState; if (state & ODS_SELECTED) image = 1; else if (state & ODS_FOCUS) image = 2; // third image for focused else if (state & ODS_DISABLED) image = 3; // last image for disabled // draw the whole button CRect rect; rect.CopyRect(&lpDrawItemStruct->rcItem); CDC* pDC = CDC::FromHandle(lpDrawItemStruct->hDC); VERIFY( m_image.Draw( pDC, image, rect.TopLeft(), ILD_NORMAL ) ); } void CMappedBitmapButton::OnSysColorChange() { CButton::OnSysColorChange(); if (m_image.GetImageCount() == 4) { LoadBitmap( m_idResource ); } Invalidate(); } |
From: boca4711 <boc...@us...> - 2004-11-21 14:18:45
|
Update of /cvsroot/anyedit/AnyEditToolkit/Samples/Gui_DevStudio In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24055/Samples/Gui_DevStudio Modified Files: Gui_DevStudioView.cpp Gui_DevStudioView.h Log Message: Added call for mulit page print preview Index: Gui_DevStudioView.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/Samples/Gui_DevStudio/Gui_DevStudioView.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Gui_DevStudioView.cpp 26 Sep 2004 16:16:23 -0000 1.1 --- Gui_DevStudioView.cpp 21 Nov 2004 14:17:15 -0000 1.2 *************** *** 120,124 **** } - void CGui_DevStudioView::OnContextMenu(CWnd* pWnd, CPoint point) { --- 120,123 ---- *************** *** 150,151 **** --- 149,182 ---- menu.TrackPopupMenu(TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_RIGHTBUTTON, point.x, point.y, AfxGetMainWnd()); } + + void CGui_DevStudioView::OnFilePrintPreview() + { + // replace the default print preview with ours! + + // In derived classes, implement special window handling here + // Be sure to Unhook Frame Window close if hooked. + + // must not create this on the frame. Must outlive this function + CPrintPreviewState* pState = new CPrintPreviewState; + + // DoPrintPreview's return value does not necessarily indicate that + // Print preview succeeded or failed, but rather what actions are necessary + // at this point. If DoPrintPreview returns TRUE, it means that + // OnEndPrintPreview will be (or has already been) called and the + // pState structure will be/has been deleted. + // If DoPrintPreview returns FALSE, it means that OnEndPrintPreview + // WILL NOT be called and that cleanup, including deleting pState + // must be done here. + + if (!DoPrintPreview(IDD_PREVIEW, this, RUNTIME_CLASS(CMultiPagePreviewView), + pState)) // note, put your class name in here + { + // In derived classes, reverse special window handling here for + // Preview failure case + + TRACE0("Error: DoPrintPreview failed.\n"); + AfxMessageBox(AFX_IDP_COMMAND_FAILURE); + delete pState; // preview failed to initialize, delete State now + pState = NULL; + } + } Index: Gui_DevStudioView.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/Samples/Gui_DevStudio/Gui_DevStudioView.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Gui_DevStudioView.h 26 Sep 2004 16:16:23 -0000 1.1 --- Gui_DevStudioView.h 21 Nov 2004 14:17:15 -0000 1.2 *************** *** 50,53 **** --- 50,54 ---- //{{AFX_MSG(CGui_DevStudioView) afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); + afx_msg void OnFilePrintPreview(); //}}AFX_MSG DECLARE_MESSAGE_MAP() |
From: boca4711 <boc...@us...> - 2004-11-21 14:15:42
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib/res In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22807/GuiLib/res Added Files: PrevEnd.BMP PrevPrevious.BMP PrevPrint.BMP PrevZoomin.bmp PrevZoomout.BMP PreviewHome.BMP PreviewNext.BMP pages.bmp pages_to.bmp prev_set.bmp Log Message: Bitmaps for print preview --- NEW FILE: PrevZoomin.bmp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pages.bmp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PrevEnd.BMP --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pages_to.bmp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PreviewHome.BMP --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PreviewNext.BMP --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PrevPrint.BMP --- (This appears to be a binary file; contents omitted.) --- NEW FILE: prev_set.bmp --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PrevZoomout.BMP --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PrevPrevious.BMP --- (This appears to be a binary file; contents omitted.) |
From: boca4711 <boc...@us...> - 2004-11-21 14:13:14
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22408/GuiLib Added Files: MyDialogBar.cpp MyDialogBar.h Log Message: Dialog bar class for print preview --- NEW FILE: MyDialogBar.h --- #if !defined(AFX_MYDIALOGBAR_H__496315A1_5B64_11D6_AD8C_00B0D0652E95__INCLUDED_) #define AFX_MYDIALOGBAR_H__496315A1_5B64_11D6_AD8C_00B0D0652E95__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // MyDialogBar.h : header file // ///////////////////////////////////////////////////////////////////////////// // CMyDialogBar window class CMyDialogBar : public CDialogBar { // Construction public: CMyDialogBar(); // Attributes public: void SetViewPointer(CView* pView) { ASSERT(pView) ; ASSERT(pView->IsKindOf(RUNTIME_CLASS(CView))) ; m_pView = pView ; } ; private: CView *m_pView ; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMyDialogBar) //}}AFX_VIRTUAL // Implementation public: virtual ~CMyDialogBar(); // Generated message map functions protected: //{{AFX_MSG(CMyDialogBar) // NOTE - the ClassWizard will add and remove member functions here. //}}AFX_MSG afx_msg void OnRegisteredMouseWheel(WPARAM wParam, LPARAM lParam) ; DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MYDIALOGBAR_H__496315A1_5B64_11D6_AD8C_00B0D0652E95__INCLUDED_) --- NEW FILE: MyDialogBar.cpp --- // MyDialogBar.cpp : implementation file // #include "stdafx.h" #include "MyDialogBar.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CMyDialogBar CMyDialogBar::CMyDialogBar() { } CMyDialogBar::~CMyDialogBar() { } BEGIN_MESSAGE_MAP(CMyDialogBar, CDialogBar) //{{AFX_MSG_MAP(CMyDialogBar) // NOTE - the ClassWizard will add and remove mapping macros here. //}}AFX_MSG_MAP ON_MESSAGE(WM_MOUSEWHEEL, OnRegisteredMouseWheel) END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CMyDialogBar message handlers void CMyDialogBar::OnRegisteredMouseWheel(WPARAM wParam, LPARAM lParam) { // just forward these onto the defined view if (m_pView != NULL) { m_pView->SendMessage(WM_MOUSEWHEEL, wParam, lParam) ; } } |
From: boca4711 <boc...@us...> - 2004-11-21 14:07:56
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21479/GuiLib Modified Files: MenuBar.cpp Log Message: Activated hook to enable window menu Index: MenuBar.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/GuiLib/MenuBar.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MenuBar.cpp 17 Oct 2004 08:41:50 -0000 1.5 --- MenuBar.cpp 21 Nov 2004 14:06:28 -0000 1.6 *************** *** 317,321 **** // hook frame window to trap WM_MENUSELECT ! //m_hookFrame.Install(this, pFrame->GetSafeHwnd()); // If this is an MDI app, hook client window to trap WM_MDISETMENU --- 317,321 ---- // hook frame window to trap WM_MENUSELECT ! m_hookFrame.Install(this, pFrame->GetSafeHwnd()); // If this is an MDI app, hook client window to trap WM_MDISETMENU |
From: boca4711 <boc...@us...> - 2004-11-21 14:06:17
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21094/GuiLib Modified Files: GuiMDIFrame.cpp GuiMDIFrame.h Log Message: Added call for more windows dialog Index: GuiMDIFrame.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/GuiLib/GuiMDIFrame.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** GuiMDIFrame.cpp 11 Oct 2004 20:25:56 -0000 1.3 --- GuiMDIFrame.cpp 21 Nov 2004 14:04:41 -0000 1.4 *************** *** 22,30 **** ****************************************************************************/ - - #include "stdafx.h" #include "GuiMDIFrame.h" #include "GuiMiniFrame.h" #ifdef _DEBUG --- 22,29 ---- ****************************************************************************/ #include "stdafx.h" #include "GuiMDIFrame.h" #include "GuiMiniFrame.h" + #include "GuiMDIWindowsDlg.h" #ifdef _DEBUG *************** *** 34,37 **** --- 33,38 ---- #endif + #define DEFAULT_NUMBER_OF_MDIS 9 + ///////////////////////////////////////////////////////////////////////////// // CGuiMDIFrame *************** *** 56,62 **** BEGIN_MESSAGE_MAP(CGuiMDIFrame, CMDIFrameWnd) //{{AFX_MSG_MAP(CGuiMDIFrame) - // NOTE - the ClassWizard will add and remove mapping macros here. ON_COMMAND(ID_FILE_PRINT_PREVIEW, OnFilePrintPreview) ON_WM_SYSCOLORCHANGE() //}}AFX_MSG_MAP END_MESSAGE_MAP() --- 57,63 ---- BEGIN_MESSAGE_MAP(CGuiMDIFrame, CMDIFrameWnd) //{{AFX_MSG_MAP(CGuiMDIFrame) ON_COMMAND(ID_FILE_PRINT_PREVIEW, OnFilePrintPreview) ON_WM_SYSCOLORCHANGE() + ON_WM_INITMENUPOPUP() //}}AFX_MSG_MAP END_MESSAGE_MAP() *************** *** 519,520 **** --- 520,605 ---- pBar->MoveWindow(rBar); } + + /// Replace More windows dialog in window menu + /* Code from Yogesh Jagota + * CodeGuru: Adding a Customized 'More windows...' dialog to an MDI application + */ + void CGuiMDIFrame::OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu) + { + CMDIFrameWnd::OnInitMenuPopup(pPopupMenu, nIndex, bSysMenu); + + // If the number of active windows is zero, the window submenu + // probably does'nt esists. If you have the window submenu present + // even in zero child windows, remove this code. + + int nCount = 0; + CWnd * pWnd = GetWindow (GW_CHILD); + ASSERT (pWnd); + pWnd = pWnd->GetWindow (GW_CHILD); + while (pWnd) + { + nCount++; + pWnd = pWnd->GetWindow (GW_HWNDNEXT); + } + + // The count is zero. exit. + if ( nCount == 0 ) + return; + + // If it's a system menu, we don't need to handle that... + if ( !bSysMenu ) + { + // The default handler places the "more windows" command in the + // submenu which contains IDs between AFX_IDM_FIRST_MDICHILD and + // AFX_IDM_LAST_MDICHILD, so check the popup for occurence of + // AFX_IDM_FIRST_MDICHILD. + + int nLength = pPopupMenu->GetMenuItemCount(); + for ( int i = 0; i < nLength; i++ ) + { + if ( pPopupMenu->GetMenuItemID( i ) == AFX_IDM_FIRST_MDICHILD ) + { + // Found. If the last item is already the "more windows" + // command than remove it. + if ( pPopupMenu->GetMenuItemID( nLength - 1 ) == + AFX_IDM_FIRST_MDICHILD + DEFAULT_NUMBER_OF_MDIS ) + { + pPopupMenu->DeleteMenu( nLength - 1, MF_BYPOSITION ); + } + + // Add our own window command. + // Note : The ID must be - ( AFX_IDM_FIRST_MDICHILD + + // ( total number of entries in window list supported ) ). + // This saves us to make any default handler for the + // command, as the default procedure itself + // handles the command and sends it to the mainframe class. + pPopupMenu->AppendMenu(MF_ENABLED|MF_STRING, + AFX_IDM_FIRST_MDICHILD + DEFAULT_NUMBER_OF_MDIS, + _T("&Windows...") ); + + // Done the processing. + return; + } + } + } + } + + /// Show our own More windows dialog + BOOL CGuiMDIFrame::OnCommand(WPARAM wParam, LPARAM lParam) + { + // If the command is "more windows" command call our + // own customized dialog + if ( wParam == AFX_IDM_FIRST_MDICHILD + 9 ) + { + // Replace CWindowDlg with your own class + CGuiMDIWindowsDlg dlgWindowDlg(this); + dlgWindowDlg.DoModal(); + + // OK. We handled the command so return true, + // as we don't want the default handler to + // handle this command too. + return TRUE; + } + + return CMDIFrameWnd::OnCommand(wParam, lParam); + } \ No newline at end of file Index: GuiMDIFrame.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/GuiLib/GuiMDIFrame.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** GuiMDIFrame.h 15 Oct 2004 14:01:50 -0000 1.3 --- GuiMDIFrame.h 21 Nov 2004 14:04:41 -0000 1.4 *************** *** 110,120 **** // Generated message map functions //{{AFX_MSG(CGuiMDIFrame) - // NOTE - the ClassWizard will add and remove member functions here. afx_msg void OnFilePrintPreview(); afx_msg void OnSysColorChange( ); //}}AFX_MSG DECLARE_MESSAGE_MAP() virtual void OnUpdateFrameTitle(BOOL bAddToTitle); }; --- 110,125 ---- // Generated message map functions //{{AFX_MSG(CGuiMDIFrame) afx_msg void OnFilePrintPreview(); afx_msg void OnSysColorChange( ); + afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu); //}}AFX_MSG DECLARE_MESSAGE_MAP() virtual void OnUpdateFrameTitle(BOOL bAddToTitle); + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CMainFrame) + protected: + virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); + //}}AFX_VIRTUAL }; |
From: boca4711 <boc...@us...> - 2004-11-21 14:01:56
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20425/GuiLib Modified Files: GuiLibRes.h Log Message: Added definitions for multipage print preview Index: GuiLibRes.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/GuiLib/GuiLibRes.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GuiLibRes.h 26 Sep 2004 16:11:51 -0000 1.1 --- GuiLibRes.h 21 Nov 2004 14:01:10 -0000 1.2 *************** *** 3,40 **** // Used by GuiLib.rc // ! ! #define IDR_GUI_DEFAULT 18001 ! #define IDR_GUI_MENUSYS 18002 ! #define IDD_GUI_WINDOW_MANAGE 18010 ! #define IDB_GUI_MDIICONS 18040 ! #define IDB_GUI_DOCKBAR 18041 ! #define IDB_GUI_DOCKBAROFFICE 18042 ! #define IDI_GUI_ARROWDOWN 18060 ! #define IDI_GUI_ARROWRIGHT 18061 ! #define IDC_GUI_WINDOWLIST_ACTIVATE 18080 ! #define IDC_GUI_WINDOWLIST_CLOSE 18081 ! #define IDC_GUI_WINDOWLIST_SAVE 18082 ! #define IDC_GUI_WINDOWLIST_TILEHORZ 18083 ! #define IDC_GUI_WINDOWLIST_MINIMIZE 18084 ! #define IDC_GUI_WINDOWLIST_CASCADE 18085 ! #define IDC_GUI_WINDOWLIST_TILEVERT 18086 ! #define IDC_GUI_WINDOWLIST_LIST 18087 ! #define IDC_GUI_WINDOWLIST_HELP 18088 ! #define ID_GUI_SHOWTITLE 18500 ! #define ID_GUI_TOOLUP 18501 ! #define ID_GUI_TOOLDOWN 18502 ! #define ID_GUI_FILE_SAVE 18503 ! #define ID_GUI_FILE_CLOSE 18505 ! #define ID_GUI_VIEW_FULLSCREEN 18505 ! #define ID_GUI_WINDOW_NEXT 18506 ! #define ID_GUI_WINDOW_PREVIOUS 18507 ! #define ID_GUI_WINDOW_CLOSE_ALL 18508 ! #define ID_GUI_WINDOW_SAVE_ALL 18508 ! #define ID_GUI_WINDOW_MANAGE 18510 ! #define ID_GUI_WINDOW_NEW 18511 ! #define ID_GUI_WINDOW_CASCADE 18512 ! #define ID_GUI_WINDOW_TILE_HORZ 18513 ! #define ID_GUI_WINDOW_TILE_VERT 18514 ! #define IDS_GUI_WINDOW_MANAGE 18700 // Next default values for new objects --- 3,60 ---- // Used by GuiLib.rc // ! #define IDC_PRINT_SETUP 1002 ! #define IDR_PAGES_TOOLBAR 1019 ! #define IDB_PREV_PRINT_SETUP 1020 ! #define IDR_GUI_DEFAULT 18001 ! #define IDR_GUI_MENUSYS 18002 ! #define IDD_GUI_WINDOW_MANAGE 18010 ! #define IDB_GUI_MDIICONS 18040 ! #define IDB_GUI_DOCKBAR 18041 ! #define IDB_GUI_DOCKBAROFFICE 18042 ! #define IDI_GUI_ARROWDOWN 18060 ! #define IDI_GUI_ARROWRIGHT 18061 ! #define IDC_GUI_WINDOWLIST_ACTIVATE 18080 ! #define IDC_GUI_WINDOWLIST_CLOSE 18081 ! #define IDC_GUI_WINDOWLIST_SAVE 18082 ! #define IDC_GUI_WINDOWLIST_TILEHORZ 18083 ! #define IDC_GUI_WINDOWLIST_MINIMIZE 18084 ! #define IDC_GUI_WINDOWLIST_CASCADE 18085 ! #define IDC_GUI_WINDOWLIST_TILEVERT 18086 ! #define IDC_GUI_WINDOWLIST_LIST 18087 ! #define IDC_GUI_WINDOWLIST_HELP 18088 ! #define ID_GUI_SHOWTITLE 18500 ! #define ID_GUI_TOOLUP 18501 ! #define ID_GUI_TOOLDOWN 18502 ! #define ID_GUI_FILE_SAVE 18503 ! #define ID_GUI_FILE_CLOSE 18505 ! #define ID_GUI_VIEW_FULLSCREEN 18505 ! #define ID_GUI_WINDOW_NEXT 18506 ! #define ID_GUI_WINDOW_PREVIOUS 18507 ! #define ID_GUI_WINDOW_CLOSE_ALL 18508 ! #define ID_GUI_WINDOW_SAVE_ALL 18508 ! #define ID_GUI_WINDOW_MANAGE 18510 ! #define ID_GUI_WINDOW_NEW 18511 ! #define ID_GUI_WINDOW_CASCADE 18512 ! #define ID_GUI_WINDOW_TILE_HORZ 18513 ! #define ID_GUI_WINDOW_TILE_VERT 18514 ! #define IDS_GUI_WINDOW_MANAGE 18700 ! #define IDR_PREVIEW_PAGES 18800 ! #define IDB_PAGES 18801 ! #define IDD_PREVIEW 18802 ! #define IDB_PREV_ZOOMIN 18803 ! #define IDB_PREV_HOME 18804 ! #define IDB_PREV_PREVIOUS 18805 ! #define IDB_PREV_NEXT 18806 ! #define IDB_PREV_END 18807 ! #define IDB_PREV_PRINT 18808 ! #define IDB_PREV_ZOOMOUT 18809 ! #define IDC_LANDSCAPE 18810 ! #define ID_PAGES_1PAGE 18811 ! #define ID_PAGES_2PAGES 18812 ! #define ID_PAGES_3PAGES 18813 ! #define ID_PAGES_4PAGES 18814 ! #define ID_PAGES_6PAGES 18815 ! #define ID_PAGES_9PAGES 18816 ! #define ID_PREVIEW_PAGES 18817 // Next default values for new objects *************** *** 42,46 **** #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS ! #define _APS_NEXT_RESOURCE_VALUE 18003 #define _APS_NEXT_COMMAND_VALUE 18520 #define _APS_NEXT_CONTROL_VALUE 18090 --- 62,66 ---- #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS ! #define _APS_NEXT_RESOURCE_VALUE 18007 #define _APS_NEXT_COMMAND_VALUE 18520 #define _APS_NEXT_CONTROL_VALUE 18090 |
From: boca4711 <boc...@us...> - 2004-11-21 14:00:37
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20076/GuiLib Modified Files: GuiLib.rc Log Message: Added resources for multipage print preview Index: GuiLib.rc =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/GuiLib/GuiLib.rc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GuiLib.rc 26 Sep 2004 16:11:51 -0000 1.1 --- GuiLib.rc 21 Nov 2004 13:59:49 -0000 1.2 *************** *** 30,33 **** --- 30,40 ---- IDB_GUI_DOCKBAROFFICE BITMAP MOVEABLE PURE "res\\guidockoffice.bmp" IDB_GUI_MDIICONS BITMAP MOVEABLE PURE "res\\guimdiicons.bmp" + IDB_PREV_END BITMAP DISCARDABLE "RES\\PrevEnd.BMP" + IDB_PREV_HOME BITMAP DISCARDABLE "RES\\PreviewHome.BMP" + IDB_PREV_NEXT BITMAP DISCARDABLE "RES\\PreviewNext.BMP" + IDB_PREV_PREVIOUS BITMAP DISCARDABLE "RES\\PrevPrevious.BMP" + IDB_PREV_PRINT BITMAP DISCARDABLE "RES\\PrevPrint.BMP" + IDB_PREV_ZOOMIN BITMAP DISCARDABLE "res\\PrevZoomin.bmp" + IDB_PREV_ZOOMOUT BITMAP DISCARDABLE "RES\\PrevZoomout.BMP" ///////////////////////////////////////////////////////////////////////////// *************** *** 59,62 **** --- 66,70 ---- IDR_GUI_DEFAULT BITMAP DISCARDABLE "res\\GuiDefault.bmp" + IDB_PAGES BITMAP DISCARDABLE "res\\pages.bmp" #ifdef APSTUDIO_INVOKED *************** *** 119,122 **** --- 127,143 ---- END + IDR_PREVIEW_PAGES MENU DISCARDABLE + BEGIN + POPUP "PAGES" + BEGIN + MENUITEM "1 Page", ID_PAGES_1PAGE + MENUITEM "2 pages", ID_PAGES_2PAGES + MENUITEM "3 Pages", ID_PAGES_3PAGES + MENUITEM "4 pages", ID_PAGES_4PAGES + MENUITEM "6 pages", ID_PAGES_6PAGES + MENUITEM "9 pages", ID_PAGES_9PAGES + END + END + ///////////////////////////////////////////////////////////////////////////// *************** *** 134,138 **** LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL | WS_TABSTOP ! DEFPUSHBUTTON "&Actvate",IDC_GUI_WINDOWLIST_ACTIVATE,243,17,66,15 PUSHBUTTON "&OK",IDOK,243,36,66,15 PUSHBUTTON "&Save",IDC_GUI_WINDOWLIST_SAVE,243,55,66,15 --- 155,159 ---- LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL | WS_TABSTOP ! DEFPUSHBUTTON "&Activate",IDC_GUI_WINDOWLIST_ACTIVATE,243,17,66,15 PUSHBUTTON "&OK",IDOK,243,36,66,15 PUSHBUTTON "&Save",IDC_GUI_WINDOWLIST_SAVE,243,55,66,15 *************** *** 148,151 **** --- 169,195 ---- END + IDD_PREVIEW DIALOG DISCARDABLE 0, 0, 319, 19 + STYLE WS_CHILD + FONT 8, "MS Sans Serif" + BEGIN + CONTROL "",AFX_ID_PREVIEW_PRINT,"Button",BS_OWNERDRAW | + WS_TABSTOP,4,3,15,13 + CONTROL "",AFX_ID_PREVIEW_NEXT,"Button",BS_OWNERDRAW | + WS_TABSTOP,42,3,15,13 + CONTROL "",AFX_ID_PREVIEW_PREV,"Button",BS_OWNERDRAW | + WS_TABSTOP,61,3,15,13 + CONTROL "#",ID_PREVIEW_PAGES,"Button",BS_OWNERDRAW | WS_TABSTOP, + 80,3,15,13 + CONTROL "",AFX_ID_PREVIEW_ZOOMIN,"Button",BS_OWNERDRAW | + WS_TABSTOP,113,3,15,13 + CONTROL "",AFX_ID_PREVIEW_ZOOMOUT,"Button",BS_OWNERDRAW | + WS_TABSTOP,132,3,15,13 + PUSHBUTTON "&Close",AFX_ID_PREVIEW_CLOSE,160,3,37,13 + CONTROL "Landscape print",IDC_LANDSCAPE,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,204,3,67,13 + CONTROL "",IDC_PRINT_SETUP,"Button",BS_OWNERDRAW | WS_TABSTOP,23, + 3,15,13 + END + ///////////////////////////////////////////////////////////////////////////// *************** *** 180,184 **** END ! #endif // English (U.S.) resources ///////////////////////////////////////////////////////////////////////////// --- 224,278 ---- END ! STRINGTABLE DISCARDABLE ! BEGIN ! ID_PAGES_1PAGE "Preview a single page" ! ID_PAGES_2PAGES "Preview 2 pages" ! ID_PAGES_3PAGES "Preview 3 pages" ! ID_PAGES_4PAGES "Preview 4 pages" ! ID_PAGES_6PAGES "Preview 6 pages" ! END ! ! STRINGTABLE DISCARDABLE ! BEGIN ! ID_PAGES_9PAGES "Preview 9 pages" ! END ! ! #endif // Englisch (USA) resources ! ///////////////////////////////////////////////////////////////////////////// ! ! ! ///////////////////////////////////////////////////////////////////////////// ! // Englisch (GB) resources ! ! #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) ! #ifdef _WIN32 ! LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK ! #pragma code_page(1252) ! #endif //_WIN32 ! ! ///////////////////////////////////////////////////////////////////////////// ! // ! // Bitmap ! // ! ! IDB_PREV_PRINT_SETUP BITMAP DISCARDABLE "res\\prev_set.bmp" ! IDR_PAGES_TOOLBAR BITMAP DISCARDABLE "res\\pages_to.bmp" ! ! ///////////////////////////////////////////////////////////////////////////// ! // ! // Toolbar ! // ! ! IDR_PAGES_TOOLBAR TOOLBAR DISCARDABLE 16, 15 ! BEGIN ! BUTTON 1013 ! BUTTON 1014 ! BUTTON 1015 ! BUTTON 1016 ! BUTTON 1017 ! BUTTON 1018 ! END ! ! #endif // Englisch (GB) resources ///////////////////////////////////////////////////////////////////////////// |
From: boca4711 <boc...@us...> - 2004-11-21 13:57:02
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19515/GuiLib Modified Files: GuiLib.h Log Message: Added header for multipage print preview Index: GuiLib.h =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/GuiLib/GuiLib.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GuiLib.h 26 Sep 2004 16:11:51 -0000 1.1 --- GuiLib.h 21 Nov 2004 13:56:46 -0000 1.2 *************** *** 185,188 **** --- 185,189 ---- #include "GuiSplitter.h" #include "GuiSysTray.h" + #include "MultiPagePreview.h" #endif // _GUILIB_NOAUTOLIB |
From: boca4711 <boc...@us...> - 2004-11-21 13:55:38
|
Update of /cvsroot/anyedit/AnyEditToolkit/GuiLib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19236/GuiLib Modified Files: GuiLib.dsp Log Message: Added new files for multipage print preview Index: GuiLib.dsp =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/GuiLib/GuiLib.dsp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** GuiLib.dsp 1 Nov 2004 14:25:42 -0000 1.3 --- GuiLib.dsp 21 Nov 2004 13:55:25 -0000 1.4 *************** *** 415,422 **** --- 415,434 ---- # Begin Source File + SOURCE=.\MappedBitmapButton.cpp + # End Source File + # Begin Source File + SOURCE=.\MenuBar.cpp # End Source File # Begin Source File + SOURCE=.\MultiPagePreview.cpp + # End Source File + # Begin Source File + + SOURCE=.\MyDialogBar.cpp + # End Source File + # Begin Source File + SOURCE=.\NewMenu.cpp # End Source File *************** *** 720,723 **** --- 732,739 ---- # Begin Source File + SOURCE=.\MappedBitmapButton.h + # End Source File + # Begin Source File + SOURCE=.\memdc.h # End Source File *************** *** 732,735 **** --- 748,759 ---- # Begin Source File + SOURCE=.\MultiPagePreview.h + # End Source File + # Begin Source File + + SOURCE=.\MyDialogBar.h + # End Source File + # Begin Source File + SOURCE=.\NewMenu.h # End Source File *************** *** 858,861 **** --- 882,925 ---- SOURCE=.\idc_hand.ico # End Source File + # Begin Source File + + SOURCE=.\res\pages.bmp + # End Source File + # Begin Source File + + SOURCE=.\res\pages_to.bmp + # End Source File + # Begin Source File + + SOURCE=.\res\prev_set.bmp + # End Source File + # Begin Source File + + SOURCE=.\res\PrevEnd.BMP + # End Source File + # Begin Source File + + SOURCE=.\res\PreviewHome.BMP + # End Source File + # Begin Source File + + SOURCE=.\res\PreviewNext.BMP + # End Source File + # Begin Source File + + SOURCE=.\res\PrevPrevious.BMP + # End Source File + # Begin Source File + + SOURCE=.\res\PrevPrint.BMP + # End Source File + # Begin Source File + + SOURCE=.\res\PrevZoomin.bmp + # End Source File + # Begin Source File + + SOURCE=.\res\PrevZoomout.BMP + # End Source File # End Group # Begin Source File |
Update of /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20082/Config/Default/Syntax Modified Files: cpp.syn css.syn html.syn java.syn javascript.syn pascal.syn perl.syn python.syn xml.syn Log Message: Changed folding properties. Index: java.syn =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax/java.syn,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** java.syn 27 Sep 2004 12:38:38 -0000 1.12 --- java.syn 16 Nov 2004 07:48:53 -0000 1.13 *************** *** 3,9 **** <Name>SCLEX_CPP</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">1</Property> <Property name="fold.preprocessor">1</Property> ! <Property name="fold.compact">1</Property> <Property name="fold.at.else">1</Property> </Lexer> --- 3,9 ---- <Name>SCLEX_CPP</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">0</Property> <Property name="fold.preprocessor">1</Property> ! <Property name="fold.compact">0</Property> <Property name="fold.at.else">1</Property> </Lexer> Index: python.syn =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax/python.syn,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** python.syn 27 Sep 2004 12:38:38 -0000 1.10 --- python.syn 16 Nov 2004 07:48:53 -0000 1.11 *************** *** 3,7 **** <Name>SCLEX_PYTHON</Name> <Property name="fold">1</Property> ! <Property name="fold.comment.python">1</Property> <Property name="fold.quotes.python">1</Property> <Property name="tab.timmy.whinge.level">1</Property> --- 3,7 ---- <Name>SCLEX_PYTHON</Name> <Property name="fold">1</Property> ! <Property name="fold.comment.python">0</Property> <Property name="fold.quotes.python">1</Property> <Property name="tab.timmy.whinge.level">1</Property> Index: html.syn =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax/html.syn,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** html.syn 27 Sep 2004 12:38:37 -0000 1.9 --- html.syn 16 Nov 2004 07:48:53 -0000 1.10 *************** *** 5,9 **** <Property name="fold.html">1</Property> <Property name="fold.html.preprocessor">1</Property> ! <Property name="fold.compact">1</Property> <Property name="html.tags.case.sensitive">1</Property> <Property name="asp.default.language">0</Property> --- 5,9 ---- <Property name="fold.html">1</Property> <Property name="fold.html.preprocessor">1</Property> ! <Property name="fold.compact">0</Property> <Property name="html.tags.case.sensitive">1</Property> <Property name="asp.default.language">0</Property> Index: pascal.syn =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax/pascal.syn,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** pascal.syn 27 Sep 2004 12:38:38 -0000 1.8 --- pascal.syn 16 Nov 2004 07:48:53 -0000 1.9 *************** *** 3,9 **** <Name>SCLEX_PASCAL</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">1</Property> <Property name="fold.preprocessor">1</Property> ! <Property name="fold.compact">1</Property> </Lexer> <LanguageDefines> --- 3,9 ---- <Name>SCLEX_PASCAL</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">0</Property> <Property name="fold.preprocessor">1</Property> ! <Property name="fold.compact">0</Property> </Lexer> <LanguageDefines> Index: cpp.syn =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax/cpp.syn,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** cpp.syn 27 Sep 2004 12:38:37 -0000 1.11 --- cpp.syn 16 Nov 2004 07:48:53 -0000 1.12 *************** *** 3,9 **** <Name>SCLEX_CPP</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">1</Property> <Property name="fold.preprocessor">1</Property> ! <Property name="fold.compact">1</Property> <Property name="fold.at.else">1</Property> </Lexer> --- 3,9 ---- <Name>SCLEX_CPP</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">0</Property> <Property name="fold.preprocessor">1</Property> ! <Property name="fold.compact">0</Property> <Property name="fold.at.else">1</Property> </Lexer> Index: xml.syn =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax/xml.syn,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** xml.syn 27 Sep 2004 12:38:38 -0000 1.8 --- xml.syn 16 Nov 2004 07:48:53 -0000 1.9 *************** *** 5,9 **** <Property name="fold.html">1</Property> <Property name="fold.html.preprocessor">1</Property> ! <Property name="fold.compact">1</Property> </Lexer> <LanguageDefines> --- 5,9 ---- <Property name="fold.html">1</Property> <Property name="fold.html.preprocessor">1</Property> ! <Property name="fold.compact">0</Property> </Lexer> <LanguageDefines> Index: css.syn =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax/css.syn,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** css.syn 27 Sep 2004 12:38:37 -0000 1.9 --- css.syn 16 Nov 2004 07:48:53 -0000 1.10 *************** *** 3,8 **** <Name>SCLEX_CSS</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">1</Property> ! <Property name="fold.compact">1</Property> </Lexer> <LanguageDefines> --- 3,8 ---- <Name>SCLEX_CSS</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">0</Property> ! <Property name="fold.compact">0</Property> </Lexer> <LanguageDefines> Index: perl.syn =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax/perl.syn,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** perl.syn 27 Sep 2004 12:38:38 -0000 1.10 --- perl.syn 16 Nov 2004 07:48:53 -0000 1.11 *************** *** 3,8 **** <Name>SCLEX_PERL</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">1</Property> ! <Property name="fold.compact">1</Property> </Lexer> <LanguageDefines> --- 3,8 ---- <Name>SCLEX_PERL</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">0</Property> ! <Property name="fold.compact">0</Property> </Lexer> <LanguageDefines> Index: javascript.syn =================================================================== RCS file: /cvsroot/anyedit/AnyEditBin/Config/Default/Syntax/javascript.syn,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** javascript.syn 27 Sep 2004 12:38:38 -0000 1.10 --- javascript.syn 16 Nov 2004 07:48:53 -0000 1.11 *************** *** 3,9 **** <Name>SCLEX_CPP</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">1</Property> <Property name="fold.preprocessor">1</Property> ! <Property name="fold.compact">1</Property> <Property name="fold.at.else">1</Property> </Lexer> --- 3,9 ---- <Name>SCLEX_CPP</Name> <Property name="fold">1</Property> ! <Property name="fold.comment">0</Property> <Property name="fold.preprocessor">1</Property> ! <Property name="fold.compact">0</Property> <Property name="fold.at.else">1</Property> </Lexer> |
From: Leon W. <moo...@us...> - 2004-11-08 07:35:54
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26513 Modified Files: DumpDialog.cpp Log Message: Release the string buffer after we don't need it anymore. Index: DumpDialog.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/DumpDialog.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** DumpDialog.cpp 7 Sep 2004 19:55:54 -0000 1.5 --- DumpDialog.cpp 8 Nov 2004 07:35:45 -0000 1.6 *************** *** 69,71 **** --- 69,72 ---- LPCSTR lpszClipStr = m_strData.GetBuffer(m_strData.GetLength()); CopyStrToClipboard(lpszClipStr); + m_strData.ReleaseBuffer(); } |
From: Leon W. <moo...@us...> - 2004-11-08 07:35:08
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26335 Modified Files: BugReport.cpp Log Message: Fixed copy to clipboard function. Index: BugReport.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/BugReport.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** BugReport.cpp 7 Sep 2004 19:55:54 -0000 1.7 --- BugReport.cpp 8 Nov 2004 07:34:51 -0000 1.8 *************** *** 209,214 **** void CBugReport::OnButtonCopyClipboard() { - OpenClipboard(); - EmptyClipboard(); CString clipStr = _T("AnyEdit Version : "); CString tempStr; --- 209,212 ---- *************** *** 227,232 **** LPCSTR str = clipStr.GetBuffer(tempStr.GetLength()); ! ! SetClipboardData(CF_TEXT, (void *)str); ! CloseClipboard(); } --- 225,229 ---- LPCSTR str = clipStr.GetBuffer(tempStr.GetLength()); ! CopyStrToClipboard(str); ! clipStr.ReleaseBuffer(); } |
From: Leon W. <moo...@us...> - 2004-11-08 07:23:48
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24125 Modified Files: AnyEdit.rc Log Message: Released Shift+Space association. Index: AnyEdit.rc =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.rc,v retrieving revision 1.105 retrieving revision 1.106 diff -C2 -d -r1.105 -r1.106 *** AnyEdit.rc 1 Nov 2004 14:12:01 -0000 1.105 --- AnyEdit.rc 8 Nov 2004 07:23:35 -0000 1.106 *************** *** 428,432 **** MENUITEM SEPARATOR MENUITEM "Cod&e List\tCtrl+Space", ID_EDIT_CODELIST ! MENUITEM "Auto Co&mplete\tShift+Space", ID_EDIT_CODECOMPLETE MENUITEM "Auto Complete &List\tC+S+Space", ID_EDIT_CODECOMPLETELIST MENUITEM "&Auto Complete Editor", ID_CONFIGURE_AUTOCOMPLETEEDITOR --- 428,432 ---- MENUITEM SEPARATOR MENUITEM "Cod&e List\tCtrl+Space", ID_EDIT_CODELIST ! MENUITEM "Auto Co&mplete", ID_EDIT_CODECOMPLETE MENUITEM "Auto Complete &List\tC+S+Space", ID_EDIT_CODECOMPLETELIST MENUITEM "&Auto Complete Editor", ID_CONFIGURE_AUTOCOMPLETEEDITOR *************** *** 1378,1382 **** VK_PRIOR, ID_MACROHELPER_NUMPLUS, VIRTKEY, CONTROL, NOINVERT VK_SPACE, ID_EDIT_CODELIST, VIRTKEY, CONTROL, NOINVERT - VK_SPACE, ID_EDIT_CODECOMPLETE, VIRTKEY, SHIFT, NOINVERT VK_SPACE, ID_EDIT_CODECOMPLETELIST, VIRTKEY, SHIFT, CONTROL, NOINVERT --- 1378,1381 ---- |
From: Leon W. <moo...@us...> - 2004-11-08 07:11:20
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21853 Modified Files: AnyEditView.cpp Log Message: SetSelectedLine, didn't make sure the line was visible. Index: AnyEditView.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEditView.cpp,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** AnyEditView.cpp 26 Sep 2004 13:36:23 -0000 1.82 --- AnyEditView.cpp 8 Nov 2004 07:11:07 -0000 1.83 *************** *** 667,673 **** void CAnyEditView::SetSelectedLine(int lineno, BOOL bSetFocus /* = TRUE */) { ! m_Scintilla.GotoLine(lineno); ! int i = m_Scintilla.GetFirstVisibleLine(); ! m_Scintilla.LineScroll(0, lineno - i); if (bSetFocus) m_Scintilla.SetFocus(); --- 667,671 ---- void CAnyEditView::SetSelectedLine(int lineno, BOOL bSetFocus /* = TRUE */) { ! m_Scintilla.GotoLineEnsureVisible(lineno); if (bSetFocus) m_Scintilla.SetFocus(); |
From: Leon W. <moo...@us...> - 2004-11-08 07:08:14
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21051 Modified Files: ToolRunner.cpp Log Message: Rewrote Macro Parsing, it now recognizes macros better. Index: ToolRunner.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/ToolRunner.cpp,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** ToolRunner.cpp 30 Sep 2004 13:11:15 -0000 1.20 --- ToolRunner.cpp 8 Nov 2004 07:07:55 -0000 1.21 *************** *** 39,42 **** --- 39,45 ---- #endif + #define TR_MACRO_MIN 3 + #define TR_MACRO_MAX 8 + // Default constructor CToolRunner::CToolRunner() *************** *** 243,249 **** { CString szBuild; int begin = 0; int bthing = 0; ! int ething = 0; // Keep searching till the end of the string. --- 246,254 ---- { CString szBuild; + CString szResult; + int iCount; int begin = 0; int bthing = 0; ! bool bBrace; // Keep searching till the end of the string. *************** *** 264,299 **** if( szArgument[begin] == '$' ) { ! // $$ is replaced by a single $ ! szBuild += "$"; begin = bthing + 1; continue; } ! // Find the end of the argument, depending on the second character. ! // If the argument is between () we search for the ')' else we expect ! // a space. if( szArgument[begin] == '(' ) { ++ begin; ! ething = szArgument.Find( ')', begin ); } ! else { ! ething = szArgument.Find( ' ', begin ); ! if( ething == -1 ) ething = szArgument.GetLength(); } ! ! // If our start and end point differ we found a macro. ! // Grab it and get the value it represents. ! if( begin != ething ) { ! CString szTemp; ! szTemp += szArgument.Mid( begin, ething - begin ); ! szBuild += GetValueForArguments( szTemp ); ! ! // If we searched for a ')' as the end of the macro, skip it. ! if( ething != szArgument.GetLength() && szArgument[ething] != ' ' ) begin = ++ ething; ! else begin = ething; } } else --- 269,307 ---- if( szArgument[begin] == '$' ) { ! // $$ is replaced by a single $, so skip this one. begin = bthing + 1; continue; } ! bBrace = false; if( szArgument[begin] == '(' ) { ++ begin; ! bBrace = true; } ! ! szResult.Empty(); ! for( iCount = TR_MACRO_MIN; iCount <= TR_MACRO_MAX; ++ iCount ) { ! if( begin + iCount > szArgument.GetLength() ) break; ! szResult = GetValueForArguments( szArgument.Mid( begin, iCount ) ); ! if( !szResult.IsEmpty() ) break; } ! ! ! // Did we have a valid macro? ! if( szResult.IsEmpty() ) { ! // No, ok continue after the character $, but first add it because we skipped it. ! szBuild += _T("$"); ! continue; } + else + { + begin += iCount; + if( bBrace && begin < szArgument.GetLength() && szArgument[begin] == ')' ) ++ begin; + szBuild += szResult; + } + } else *************** *** 317,327 **** int iIndex; CString szTemp; ! CMisc misc; ! if( "FILEPATH" == szArgument ) { if( NULL == m_pActiveDoc ) return _T(""); else return m_pActiveDoc->GetPathName(); } ! if( "FILENAME" == szArgument ) { if( NULL == m_pActiveDoc ) return _T(""); --- 325,335 ---- int iIndex; CString szTemp; ! ! if( _T("FILEPATH") == szArgument ) { if( NULL == m_pActiveDoc ) return _T(""); else return m_pActiveDoc->GetPathName(); } ! if( _T("FILENAME") == szArgument ) { if( NULL == m_pActiveDoc ) return _T(""); *************** *** 331,335 **** else return szTemp.Right( szTemp.GetLength() - iIndex - 1 ); } ! if( "FILEBASE" == szArgument ) { if( NULL == m_pActiveDoc ) return _T(""); --- 339,343 ---- else return szTemp.Right( szTemp.GetLength() - iIndex - 1 ); } ! if( _T("FILEBASE") == szArgument ) { if( NULL == m_pActiveDoc ) return _T(""); *************** *** 342,346 **** else return szTemp.Mid( iIndex + 1, iIndex2 - iIndex - 1 ); } ! if( "FILEDIR" == szArgument ) { if( NULL == m_pActiveDoc ) return _T(""); --- 350,354 ---- else return szTemp.Mid( iIndex + 1, iIndex2 - iIndex - 1 ); } ! if( _T("FILEDIR") == szArgument ) { if( NULL == m_pActiveDoc ) return _T(""); *************** *** 350,354 **** else return szTemp.Left( iIndex ); } ! if( "WSPDIR" == szArgument ) { if( theApp.GetWorkspace()->empty() ) return _T(""); --- 358,362 ---- else return szTemp.Left( iIndex ); } ! if( _T("WSPDIR") == szArgument ) { if( theApp.GetWorkspace()->empty() ) return _T(""); *************** *** 358,362 **** else return szTemp.Left( iIndex ); } ! if( "PRJDIR" == szArgument ) { if( theApp.GetWorkspace()->empty() ) return _T(""); --- 366,370 ---- else return szTemp.Left( iIndex ); } ! if( _T("PRJDIR") == szArgument ) { if( theApp.GetWorkspace()->empty() ) return _T(""); *************** *** 367,371 **** else return szTemp.Left( iIndex ); } ! if( "CURSEL" == szArgument ) { if( NULL == m_pActiveView ) return _T(""); --- 375,379 ---- else return szTemp.Left( iIndex ); } ! if( _T("CURSEL") == szArgument ) { if( NULL == m_pActiveView ) return _T(""); *************** *** 374,378 **** else return pScintillaEx->GetSelText(); } ! if( "CURLINE" == szArgument ) { if( NULL == m_pActiveView ) return _T(""); --- 382,386 ---- else return pScintillaEx->GetSelText(); } ! if( _T("CURLINE") == szArgument ) { if( NULL == m_pActiveView ) return _T(""); *************** *** 390,394 **** } } ! if( "CURWORD" == szArgument ) { if( NULL == m_pActiveView ) return _T(""); --- 398,402 ---- } } ! if( _T("CURWORD") == szArgument ) { if( NULL == m_pActiveView ) return _T(""); *************** *** 409,413 **** } } ! if( "ROW" == szArgument ) { if( NULL == m_pActiveView ) return _T(""); --- 417,421 ---- } } ! if( _T("ROW") == szArgument ) { if( NULL == m_pActiveView ) return _T(""); *************** *** 423,427 **** } } ! if( "COL" == szArgument ) { if( NULL == m_pActiveView ) return _T(""); --- 431,435 ---- } } ! if( _T("COL") == szArgument ) { if( NULL == m_pActiveView ) return _T(""); |
From: boca4711 <boc...@us...> - 2004-11-01 17:29:27
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7236 Modified Files: AnyEdit.dsp Log Message: Change target in debug build from bin/AnyEdit.exe to bin/AnyEditDebug.exe Index: AnyEdit.dsp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/AnyEdit.dsp,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** AnyEdit.dsp 4 Oct 2004 21:39:04 -0000 1.73 --- AnyEdit.dsp 1 Nov 2004 17:29:18 -0000 1.74 *************** *** 82,86 **** LINK32=link.exe # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ! # ADD LINK32 Htmlhelp.lib ctagslib.lib gnu_regex_lib.lib /nologo /subsystem:windows /debug /machine:I386 /out:"bin/AnyEdit.exe" /pdbtype:sept /libpath:"C:\Program Files\HTML Help Workshop\LIB" /libpath:"lib\debug" !ENDIF --- 82,86 ---- LINK32=link.exe # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept ! # ADD LINK32 Htmlhelp.lib ctagslib.lib gnu_regex_lib.lib /nologo /subsystem:windows /debug /machine:I386 /out:"bin/AnyEditDebug.exe" /pdbtype:sept /libpath:"C:\Program Files\HTML Help Workshop\LIB" /libpath:"lib\debug" !ENDIF |
From: boca4711 <boc...@us...> - 2004-11-01 14:50:39
|
Update of /cvsroot/anyedit/AnyEditToolkit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4111 Modified Files: AnyEditToolkit.xml Log Message: Added last changes Index: AnyEditToolkit.xml =================================================================== RCS file: /cvsroot/anyedit/AnyEditToolkit/AnyEditToolkit.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AnyEditToolkit.xml 12 Oct 2004 20:21:35 -0000 1.4 --- AnyEditToolkit.xml 1 Nov 2004 14:50:21 -0000 1.5 *************** *** 1,4 **** <?xml version="1.0" encoding="windows-1252"?> ! <TODOLIST FILEFORMAT="6" PROJECTNAME="AnyEditToolkit" NEXTUNIQUEID="46" LASTSORTBY="0" FILEVERSION="29" LASTSORTDIR="-1" LASTMODIFIED="2004-10-12"> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38257.91064815" TITLE="bugs" TIMEESTUNITS="H" ID="1" STARTDATE="38257.00000000" POS="1"> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38262.71917824" TITLE="CGuiButton" TIMEESTUNITS="H" COMMENTS="return result of selected item in context menu --- 1,4 ---- <?xml version="1.0" encoding="windows-1252"?> ! <TODOLIST FILEFORMAT="6" PROJECTNAME="AnyEditToolkit" NEXTUNIQUEID="56" LASTSORTBY="0" FILEVERSION="49" LASTSORTDIR="-1" LASTMODIFIED="2004-11-01"> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38257.91064815" TITLE="bugs" TIMEESTUNITS="H" ID="1" STARTDATE="38257.00000000" POS="1"> <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38262.71917824" TITLE="CGuiButton" TIMEESTUNITS="H" COMMENTS="return result of selected item in context menu *************** *** 13,29 **** <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38271.94543981" TITLE="CGuiMDIFrame" TIMEESTUNITS="H" COMMENTS="add DockControlBarLeftOf " ID="17" PERCENTDONE="100" STARTDATE="38257.00000000" DONEDATESTRING="2004-10-11" POS="5" DONEDATE="38271.00000000"/> ! <TASK STARTDATESTRING="2004-10-02" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38262.64634259" TITLE="path problem with msado15.dll" TIMEESTUNITS="H" COMMENTS="There is an import of msado15.dll with full path spec. ! " ID="28" STARTDATE="38262.00000000" POS="6"/> ! <TASK STARTDATESTRING="2004-10-03" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38263.77458333" TITLE="add missing hints for class wizard" TIMEESTUNITS="H" ID="29" STARTDATE="38263.00000000" POS="7"/> <TASK STARTDATESTRING="2004-10-04" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38270.73370370" TITLE="CGuiButton SEMIFLAT doesn't show a border" TIMEESTUNITS="H" ID="38" PERCENTDONE="100" STARTDATE="38264.00000000" DONEDATESTRING="2004-10-10" POS="8" DONEDATE="38270.00000000"/> <TASK STARTDATESTRING="2004-10-04" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38270.73379630" TITLE="CGuiButton add bitmap handling" TIMEESTUNITS="H" ID="39" PERCENTDONE="100" STARTDATE="38264.00000000" DONEDATESTRING="2004-10-10" POS="9" DONEDATE="38270.00000000"/> ! <TASK STARTDATESTRING="2004-10-10" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38270.73618056" TITLE="CGuiButton with bitmaps and XP style has wrong background" TIMEESTUNITS="H" COMMENTS="In other styles background is grey. In XP style background is grey too, but it should be white. " ID="40" STARTDATE="38270.00000000" POS="10"/> ! <TASK STARTDATESTRING="2004-10-10" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38270.73629630" TITLE="CGuiEditList only shows standard buttons" TIMEESTUNITS="H" COMMENTS="In BCG it is possible to set which buttons are shown. Here is no way to hide buttons. ! " ID="41" STARTDATE="38270.00000000" POS="11"/> ! <TASK STARTDATESTRING="2004-10-12" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38272.92827546" TITLE="Docking of control bars on left or right side of window does not work every time" TIMEESTUNITS="H" ID="42" STARTDATE="38272.00000000" POS="12"/> ! <TASK STARTDATESTRING="2004-10-12" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38272.92831019" TITLE="tabbed workspace bar has wrong design" TIMEESTUNITS="H" ID="43" STARTDATE="38272.00000000" POS="13"/> ! <TASK STARTDATESTRING="2004-10-12" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38272.92834491" TITLE="CGuiMDITabbed shows full path name" TIMEESTUNITS="H" COMMENTS="show file name only and path name as tooltip ! " ID="44" STARTDATE="38272.00000000" POS="14"/> </TASK> <TASK STARTDATESTRING="2004-09-27" PRIORITY="5" TIMEESPENTUNITS="H" LASTMOD="38257.86849537" TITLE="parts from AnyEdit" TIMEESTUNITS="H" ID="2" STARTDATE="38257.00000000" POS="2"> --- 13,49 ---- <TASK STARTDATESTRING="2004-09-27" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38271.94543981" TITLE="CGuiMDIFrame" TIMEESTUNITS="H" COMMENTS="add DockControlBarLeftOf " ID="17" PERCENTDONE="100" STARTDATE="38257.00000000" DONEDATESTRING="2004-10-11" POS="5" DONEDATE="38271.00000000"/> ! <TASK STARTDATESTRING="2004-10-02" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38276.90090278" TITLE="path problem with msado15.dll" TIMEESTUNITS="H" PERSON="gh" COMMENTS="There is an import of msado15.dll with full path spec. ! " ID="28" PERCENTDONE="100" STARTDATE="38262.00000000" DONEDATESTRING="2004-10-16" POS="6" DONEDATE="38276.00000000"/> ! <TASK STARTDATESTRING="2004-10-03" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38276.90100694" TITLE="add missing hints for class wizard" TIMEESTUNITS="H" PERSON="gh" ID="29" PERCENTDONE="100" STARTDATE="38263.00000000" DONEDATESTRING="2004-10-16" POS="7" DONEDATE="38276.00000000"/> <TASK STARTDATESTRING="2004-10-04" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38270.73370370" TITLE="CGuiButton SEMIFLAT doesn't show a border" TIMEESTUNITS="H" ID="38" PERCENTDONE="100" STARTDATE="38264.00000000" DONEDATESTRING="2004-10-10" POS="8" DONEDATE="38270.00000000"/> <TASK STARTDATESTRING="2004-10-04" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38270.73379630" TITLE="CGuiButton add bitmap handling" TIMEESTUNITS="H" ID="39" PERCENTDONE="100" STARTDATE="38264.00000000" DONEDATESTRING="2004-10-10" POS="9" DONEDATE="38270.00000000"/> ! <TASK STARTDATESTRING="2004-10-10" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38276.90107639" TITLE="CGuiButton with bitmaps and XP style has wrong background" TIMEESTUNITS="H" PERSON="gh" COMMENTS="In other styles background is grey. In XP style background is grey too, but it should be white. " ID="40" STARTDATE="38270.00000000" POS="10"/> ! <TASK STARTDATESTRING="2004-10-10" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38276.90118056" TITLE="CGuiEditList only shows standard buttons" TIMEESTUNITS="H" PERSON="gh" COMMENTS="In BCG it is possible to set which buttons are shown. Here is no way to hide buttons. ! " ID="41" PERCENTDONE="100" STARTDATE="38270.00000000" DONEDATESTRING="2004-10-16" POS="11" DONEDATE="38276.00000000"/> ! <TASK STARTDATESTRING="2004-10-12" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38285.86649306" TITLE="Docking of control bars on left or right side of window does not work every time" TIMEESTUNITS="H" COMMENTS="The docking region is very small. In BCG the region is larger so it is more simple to dock a control bar. ! " ID="42" STARTDATE="38272.00000000" POS="12"/> ! <TASK STARTDATESTRING="2004-10-12" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38285.86584491" TITLE="tabbed workspace bar has wrong design" TIMEESTUNITS="H" ID="43" PERCENTDONE="100" STARTDATE="38272.00000000" DONEDATESTRING="2004-10-25" POS="13" DONEDATE="38285.00000000"/> ! <TASK STARTDATESTRING="2004-10-12" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38276.90137731" TITLE="CGuiMDITabbed shows full path name" TIMEESTUNITS="H" PERSON="cs" COMMENTS="show file name only and path name as tooltip ! " ID="44" PERCENTDONE="100" STARTDATE="38272.00000000" DONEDATESTRING="2004-10-16" POS="14" DONEDATE="38276.00000000"/> ! <TASK STARTDATESTRING="2004-10-17" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38277.58075231" TITLE="CGuiStatusBar draws rezize control in full screen mode" TIMEESTUNITS="H" COMMENTS="don't draw this control ! " ID="46" PERCENTDONE="100" STARTDATE="38277.00000000" DONEDATESTRING="2004-10-17" POS="15" DONEDATE="38277.00000000"/> ! <TASK STARTDATESTRING="2004-10-17" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38277.60436343" TITLE="CGuiMDITabbed close does not work" TIMEESTUNITS="H" COMMENTS="added implementation of ScrollClose ! " ID="47" PERCENTDONE="100" STARTDATE="38277.00000000" DONEDATESTRING="2004-10-17" POS="16" DONEDATE="38277.00000000"/> ! <TASK STARTDATESTRING="2004-10-17" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38277.54674769" TITLE="CGuiMDITabbed scrolling is very slow and redrawing flickers" TIMEESTUNITS="H" ID="48" STARTDATE="38277.00000000" POS="17"/> ! <TASK STARTDATESTRING="2004-10-17" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38292.63783565" TITLE="Checked buttons in toolbar are drawn wrong" TIMEESTUNITS="H" COMMENTS="If the mouse is over a checked button the symbol is moved. ! Is this really a bug? ! ! " ID="49" STARTDATE="38277.00000000" POS="18"/> ! <TASK STARTDATESTRING="2004-10-17" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38290.75712963" TITLE="CGuiTabWnd add notification for tab change" TIMEESTUNITS="H" ID="50" PERCENTDONE="100" STARTDATE="38277.00000000" DONEDATESTRING="2004-10-30" POS="19" DONEDATE="38290.00000000"/> ! <TASK STARTDATESTRING="2004-10-17" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38277.88706019" TITLE="CGuiButton rename SetAlignMsg to SetAlign" TIMEESTUNITS="H" COMMENTS="rename enumeration AlignMsg too ! " ID="51" PERCENTDONE="100" STARTDATE="38277.00000000" DONEDATESTRING="2004-10-17" POS="20" DONEDATE="38277.00000000"/> ! <TASK STARTDATESTRING="2004-10-17" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38277.62932870" TITLE="CGuiButton add align style ALIGN_CENTER" TIMEESTUNITS="H" ID="52" STARTDATE="38277.00000000" POS="21"/> ! <TASK STARTDATESTRING="2004-10-25" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38291.55190972" TITLE="ControlBar with tabs doesn't change window title on tab change" TIMEESTUNITS="H" COMMENTS="The title is changed on mouse move over title ! " ID="53" PERCENTDONE="100" STARTDATE="38285.00000000" DONEDATESTRING="2004-10-31" POS="22" DONEDATE="38291.00000000"/> ! <TASK STARTDATESTRING="2004-10-31" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38291.52371528" TITLE="ControlBar with tabs has activated title" TIMEESTUNITS="H" COMMENTS="If a tab is changed the frame title is changed and activated. But when main window (editor) is activated the controlbar remains activated. ! " ID="54" STARTDATE="38291.00000000" POS="23"/> ! <TASK STARTDATESTRING="2004-10-31" PRIORITY="7" TIMEESPENTUNITS="H" LASTMOD="38291.55065972" TITLE="ControlBar with tabs doesn't change window title after creation" TIMEESTUNITS="H" COMMENTS="The original title remains even a new tab is selected. ! " ID="55" PERCENTDONE="100" STARTDATE="38291.00000000" DONEDATESTRING="2004-10-31" POS="24" DONEDATE="38291.00000000"/> </TASK> <TASK STARTDATESTRING="2004-09-27" PRIORITY="5" TIMEESPENTUNITS="H" LASTMOD="38257.86849537" TITLE="parts from AnyEdit" TIMEESTUNITS="H" ID="2" STARTDATE="38257.00000000" POS="2"> |