[GME-commit] GMESRC/GME/Gme ConnityDlg.cpp, 1.2, 1.3 ConnityDlg.h, 1.2, 1.3

Log messages of CVS commits gme-commit at list.isis.vanderbilt.edu
Tue Apr 15 14:35:40 CDT 2008


Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv30253

Modified Files:
	ConnityDlg.cpp ConnityDlg.h 
Log Message:
Resizing grip shown in bottom right corner.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: ConnityDlg.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/ConnityDlg.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ConnityDlg.cpp	27 Mar 2008 21:43:08 -0000	1.2
--- ConnityDlg.cpp	15 Apr 2008 19:35:38 -0000	1.3
***************
*** 56,59 ****
--- 56,60 ----
  	ON_WM_SIZE()
  	ON_WM_CREATE()
+ 	ON_WM_PAINT()
  END_MESSAGE_MAP()
  
***************
*** 166,169 ****
--- 167,172 ----
  		m_ok.SetWindowPos( 0, ok_rect.left, btn_y, ok_rect.Width(), ok_rect.Height(), SWP_NOZORDER);
  		m_ca.SetWindowPos( 0, ca_rect.left, btn_y, ca_rect.Width(), ok_rect.Height(), SWP_NOZORDER);
+ 
+ 		Invalidate();
  	}
  }
***************
*** 175,177 ****
--- 178,192 ----
  
  	return 0;
+ }
+ 
+ void CConnityDlg::OnPaint()
+ {
+ 	CPaintDC dc(this); // device context for painting
+ 	CRect rc;
+ 	GetClientRect(&rc);
+ 
+ 	rc.left = rc.right - ::GetSystemMetrics(SM_CXHSCROLL);
+ 	rc.top = rc.bottom - ::GetSystemMetrics(SM_CYVSCROLL);
+ 
+ 	dc.DrawFrameControl(rc, DFC_SCROLL, DFCS_SCROLLSIZEGRIP);
  }

Index: ConnityDlg.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/ConnityDlg.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ConnityDlg.h	27 Mar 2008 21:43:08 -0000	1.2
--- ConnityDlg.h	15 Apr 2008 19:35:38 -0000	1.3
***************
*** 52,54 ****
--- 52,56 ----
  	afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
  	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
+ 	afx_msg void OnPaint();
+ 
  };



More information about the GME-commit mailing list