Dear Antonio,
I try to use Tabctrl_hittest( ::hWnd ) in FW16bit but it show unknow function Tabctrl_hi(). Is it support 16bit? If it supports, How can I use it with more than 10 char function?
Regards,
Dutch
#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 ) );
}
Return to FiveWin for CA-Clipper
Users browsing this forum: No registered users and 5 guests