Search found 27 matches: nhiword

Return to advanced search

Re: Beep on ALT-key

Enrico, I will remember that we changed for a similar case
METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TControl
case nMsg == WM_SYSCOMMAND
return ::SysCommand( nWParam, nLoWord( nLParam ), nHiWord( nLParam ) )
Best regards,
Otto
by Otto
Mon Oct 19, 2020 4:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Beep on ALT-key
Replies: 14
Views: 1327

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6330

Re: Dialogo - se puede capturar tecla Enter?

... de esta forma para comprobarlo: METHOD Command( nWParam, nLParam ) CLASS TDialog local oWnd, nNotifyCode, nID, hWndCtl, oCtrl nNotifyCode = nHiWord( nWParam ) nID = nLoWord( nWParam ) hWndCtl = nLParam if nWParam == 1 MsgInfo( "IDOK" ) endif ... y verás como se muestra ese mensaje.
by Antonio Linares
Wed Mar 02, 2016 4:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dialogo - se puede capturar tecla Enter?
Replies: 3
Views: 491

Re: El ratón al moverse deja "rastro" en las reglas

... ... TrackMouseEvent( ::hWnd, TME_LEAVE ) ... METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS ... if nMsg == WM_MOUSELEAVE return ::MouseLeave( nHiWord( nLParam ), nLoWord( nLParam ), nWParam ) endif ... METHOD MouseLeave( nRow, nCol, nFlags ) CLASS ... ::lMOver = .F. ::Refresh() return nil ...
by Antonio Linares
Sat Aug 16, 2014 11:25 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: El ratón al moverse deja "rastro" en las reglas
Replies: 34
Views: 11777

Re: SetGetColorFocus

... llamar a: TrackMouseEvent( ::hWnd, TME_LEAVE ) Desde el método HandleEvent( nMsg, nWParam, nLParam ) if nMsg == WM_MOUSELEAVE return ::MouseLeave( nHiWord( nLParam ), nLoWord( nLParam ), nWParam ) endif Y en MouseLeave() se restaura el color que desees. Busca por WM_MOUSELEAVE en las Classes de ...
by Antonio Linares
Thu Jul 17, 2014 7:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SetGetColorFocus
Replies: 12
Views: 1300

Re: "Snap" for Clipper

...  2966  3004  3009  3009  3012  3316  3594 NHELPID                WINDOW.PRG      443  3710  3722 NHITTESTCODE            WINDOW.PRG      698  3672 NHIWORD()              (function  in ?)    WINDOW.PRG     1377  1381  2720  2790 NHMENU                  WINDOW.PRG      686   688  1754  1767G 1767G ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6698

Re: Tablet and form style for Windows 8 (desktop ver.)

Antonio,

There is an error here:

(nand(nHIWORD(wParam,flag)) == (flag))

it should be:

( nand( nHIWORD( wParam ),flag ) == ( flag ) )
by Antonio Linares
Tue Apr 30, 2013 7:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tablet and form style for Windows 8 (desktop ver.)
Replies: 80
Views: 24140

Re: Capturar mensajes

Puedes usar las funciones nLoWord( nLParam ) y nHiWord( nLParam ) de FWH
by Antonio Linares
Wed Feb 27, 2013 12:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar mensajes
Replies: 8
Views: 749

Re: New FiveForm.prg in FWH 12.07

... cLeft, cWidth, cHeight DEFAULT lDlgUnits := .F. nFactorX = If( lDlgUnits, 4 / nLoWord( GetDlgBaseUnits() ), 1 ) nFactorY = If( lDlgUnits, 8 / nHiWord( GetDlgBaseUnits() ), 1 ) ::CoorsUpdate() cTop = LTrim( Str( Int( ::nTop * nFactorX ) ) ) cLeft = LTrim( Str( Int( ::nLeft * nFactorY ) ) ) ...
by Eoeo
Sat Jul 28, 2012 3:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FiveForm.prg in FWH 12.07
Replies: 3
Views: 1256

Re: Extension to TFolderEx

... LOCAL PixelX := MulDiv( oControl:nWidth(), nLoWord( GetDlgBaseUnits() ), 4 ) LOCAL PixelY := MulDiv( oControl:nHeight(), nHiWord( GetDlgBaseUnits() ), 8 ) ... ... DEFINE IMAGE oImage FILE cImage // Tabheight-adjustment needed ! oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, ...
by ukoenig
Mon Oct 17, 2011 2:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Extension to TFolderEx
Replies: 1
Views: 659

Re: Dialog Coordinates

http://msdn.microsoft.com/en-us/library/ms645475(VS.85).aspx baseunitX = nLoWord( GetDlgBaseUnits() ) baseunitY = nHiWord( GetDlgBaseUnits() ) Therefore, to convert dialog template units to pixels, use the following formulas: pixelX = MulDiv(templateunitX, baseunitX, ...
by Antonio Linares
Sun Sep 18, 2011 6:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog Coordinates
Replies: 14
Views: 4461

Re: Minimize Dialog and Window too

... method METHOD New( nPort, oWnd ) CLASS TSocket if oWnd != nil oWnd:bSocket = { | nSocket, nLParam | ::HandleEvent( nSocket,; nLoWord( nLParam ), nHiWord( nLParam ) ) } WSAAsyncSelect( ::nSocket, oWnd:hWnd, WM_ASYNCSELECT,; nOr( FD_ACCEPT, FD_OOB, FD_READ, FD_CLOSE, FD_CONNECT, FD_WRITE ) ) else ...
by MarcoBoschi
Sun Jan 23, 2011 9:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Minimize Dialog and Window too
Replies: 25
Views: 4215

Re: Checkbox still strange

... .and. ( ::IsKindOf( "TRADIO" ) .or. ::IsKindOf( "TCHECKBOX" ) ) ::oWnd:Refresh( .f. ) endif return ::LButtonDown( nHiWord( nLParam ), nLoWord( nLParam ), nWParam ) The changes to WM_UPDATEUISTATE and the addition of WM_LBUTTONUP are fine. Howevever, with LBUTTONDOWN ...
by TimStone
Tue Nov 09, 2010 7:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Checkbox still strange
Replies: 34
Views: 6070

Re: TRANSPARENCIA SAY Y CHECKBOX fallan al presionar tecla alt

... .and. ::lTransparent .and. ::IsKindOf( "TRADIO" ) .or. ::IsKindOf( "TCHECKBOX" ) ::oWnd:Refresh() endif return ::LButtonDown( nHiWord( nLParam ), nLoWord( nLParam ), nWParam ) case nMsg == WM_LBUTTONUP if Valtype( ::lTransparent ) = "L" .and. ::lTransparent .and. ...
by acwoo1
Sun Aug 01, 2010 5:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TRANSPARENCIA SAY Y CHECKBOX fallan al presionar tecla alt
Replies: 16
Views: 3229

Re: Como se crea una CLASE para dibujar líneas.

... METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TSLines If nMsg == WM_LBUTTONDOWN .and. ::lDrag Return ::LButtonDown( nHiWord( nLParam ), nLoWord( nLParam ), nWParam ) EndIf If ( ::lDrag .and. nMsg == WM_NCHITTEST ) Return DefWindowProc( ::hWnd, nMsg, nWParam, nLParam ...
by QAZWSX2K
Tue May 25, 2010 7:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como se crea una CLASE para dibujar líneas.
Replies: 8
Views: 1760
Next

Return to advanced search