FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TabCtrl_Hittest( oFlg:hWnd ), Is working with FW 16bit?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
TabCtrl_Hittest( oFlg:hWnd ), Is working with FW 16bit?
Posted: Thu Sep 11, 2008 01:45 PM
I've a program is still in 16bit Clipper/FW2.5. I try to use this function but it is not support function more than 10 Character.

I found it in TABCTRL.C. How can I use it? I try to change the function in my program to TABCTRL_HI() but it shows error "unresolved external".

#ifdef __HARBOUR__
   CLIPPER TABCTRL_HITTEST( PARAMS ) // ( hWnd ) --> nTabItemIndex
#else
   CLIPPER TABCTRL_HI( PARAMS ) // TTEST( hWnd ) --> nTabItemIndex
#endif
{
   TC_HITTESTINFO hti;
   POINT p;
   HWND hCtrl = ( HWND ) _parnl( 1 );

   GetCursorPos( &p );
   ScreenToClient( hCtrl, &p );

   hti.pt.x  = p.x;
   hti.pt.y  = p.y;
   hti.flags = TCHT_ONITEM | TCHT_ONITEMICON | TCHT_ONITEMLABEL;

   _retnl( TabCtrl_HitTest( hCtrl, &hti ) );
}


Thanks&regards,
Dutch
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
TabCtrl_Hittest( oFlg:hWnd ), Is working with FW 16bit?
Posted: Thu Sep 11, 2008 02:25 PM

use TABCTRL_HITTEST
not TABCTRL_HI

But I do not know what it does

Regards



G. N. Rao.

Hyderabad, India
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
TabCtrl_Hittest( oFlg:hWnd ), Is working with FW 16bit?
Posted: Sat Sep 13, 2008 05:04 PM

It check the Drop Folder ID. It cannot use TabCtrl_Hittest() because Clipper look only 10 character.

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion