2008-06-13 22:24 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)

* harbour/source/rtl/gtwvt/gtwvt.c
   * harbour/source/rtl/gtwvt/gtwvt.h
     * Minor cleanups.
This commit is contained in:
Pritpal Bedi
2008-06-13 05:25:52 +00:00
parent b7919d4290
commit 0e10355833
3 changed files with 9 additions and 10 deletions

View File

@@ -8,6 +8,11 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-06-13 22:24 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/source/rtl/gtwvt/gtwvt.c
* harbour/source/rtl/gtwvt/gtwvt.h
* Minor cleanups.
2008-06-13 21:56 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/source/rtl/gtwvt/gtwvt.c
! Fixed selection of left most column and top row.

View File

@@ -758,12 +758,11 @@ static void hb_gt_wvt_MouseEvent( PHB_GTWVT pWVT, UINT message, WPARAM wParam, L
if( pWVT->bBeginMarked )
{
pWVT->bBeingMarked = TRUE;
pWVT->markStaColRow = colrow;
s_rcNew.left = xy.x;
s_rcNew.top = xy.y;
s_rcNew.right = xy.x;
s_rcNew.bottom = xy.y;
s_rcNew.left = xy.x;
s_rcNew.top = xy.y;
s_rcNew.right = xy.x;
s_rcNew.bottom = xy.y;
s_rectOld.left = 0;
s_rectOld.top = 0;
@@ -866,11 +865,8 @@ static void hb_gt_wvt_MouseEvent( PHB_GTWVT pWVT, UINT message, WPARAM wParam, L
{
if( pWVT->bBeingMarked )
{
POINT a0;
POINT a1;
RECT rect = { 0, 0, 0, 0 };
RECT colrowRC = { 0, 0, 0, 0 };
char buff[ 100 ];
s_rcNew.right = xy.x;
s_rcNew.bottom = xy.y;

View File

@@ -157,8 +157,6 @@ typedef struct
BOOL bMaximized; /* Flag is set when window has been maximized */
BOOL bBeingMarked; /* Flag to control DOS window like copy operation */
BOOL bBeginMarked;
POINT markStaColRow;
POINT markEndColRow;
BOOL bResizable;
BOOL bSelectCopy;