Antonio,
The above file in \FWH\INCLUDE, misses a CRLF at its end.
(At least until Jan FWH)
Can you please correct it for the next downloads.
Thanks
Evans
Antonio Linares wrote:Evans,
What error do you get caused by the missing CRLF ?
// CGETDLGIT.C
#include <WinTen.h>
#include <Windows.h>
#include <ClipApi.h>
#include <stdlib.h>
//----------------------------------------------------------------------------//
#ifndef __HARBOUR__
CLIPPER GETDLGITEM( PARAMS ) // ( hDlg, nCtlId ) --> hControl
#else
HARBOUR HB_FUN_GETDLGITEM( PARAMS )
#endif
{
_retnl( ( LONG ) GetDlgItem( ( HWND ) _parnl( 1 ), ( WORD ) _parni( 2 ) ) );
}
//----------------------------------------------------------------------------//
#ifndef __HARBOUR__
CLIPPER NEXTDLGTAB( PARAMS ) // ( hDlg, hCtrl, lPrevious ) --> hControl
#else
HARBOUR HB_FUN_NEXTDLGTAB( PARAMS )
#endif
{
_retnl( ( LONG ) GetNextDlgTabItem( ( HWND ) _parnl( 1 ), ( HWND ) _parnl( 2 ),
_parl( 3 ) ) );
}
//----------------------------------------------------------------------------//
#ifndef __HARBOUR__
CLIPPER GETCTRLID( PARAMS ) // hCtrl --> nId
#else
HARBOUR HB_FUN_GETCTRLID( PARAMS )
#endif
{
_retni( GetDlgCtrlID( ( HWND ) _parnl( 1 ) ) );
}
//----------------------------------------------------------------------------//
CLIPPER GETDLGITEM( PARAMS ) // ( hDlg, nCtlId ) --> hControl
{
// keep ( WORD ) _parni( 2 ) as the second parameter to support negative IDs
_retnl( ( LONG ) GetDlgItem( ( HWND ) _parnl( 1 ), ( WORD ) _parni( 2 ) ) );
}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 83 guests