Search found 31 matches: nloword

Searched query: nloword

by Antonio Linares
Sat Jan 18, 2025 10:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4829

Re: Using new Class TDeepSeek for documenting

... VarPut(uVal)`**: Sets the value of the control.
- **`VarGet()`**: Gets the value of the control.

#### **System Commands**
- **`SysCommand(nType, nLoWord, nHiWord)`**: Handles system commands like Alt+key combinations.
- **`HandleEvent(nMsg, nWParam, nLParam)`**: Handles various Windows messages ...
by Otto
Mon Oct 19, 2020 4:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Beep on ALT-key
Replies: 14
Views: 2270

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 ricardog
Thu Aug 31, 2017 2:56 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 8577

Re: Ayuda DLL

... FIVEHX.LIB|DDE
Error: Unresolved external '_HB_FUN_MSGALERT' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DDE
Error: Unresolved external '_HB_FUN_NLOWORD' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DDE
Error: Unresolved external '_HB_FUN_DDEGETCOMMAND' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB ...
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: 571

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
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: 20575

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

... 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

Lo único que como ...
by Antonio Linares
Thu Jul 17, 2014 7:39 am
Forum: FiveWin para Harbour/xHarbour
Topic: SetGetColorFocus
Replies: 12
Views: 1918

Re: SetGetColorFocus

... 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 FWH y verás como lo ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 9964

Re: "Snap" for Clipper

... PRG 2198 2201 2203 2209 2211 2212 2218 2343 2346 2348
2349 3387 3394 3396 3397 3399 3401 3402 4020 4025
4027

NLENTOOLTIP
WINDOW.PRG 3592

NLOWORD() (function in ?)
WINDOW.PRG 1379 1382 2719 2789

NLPARAM
WINDOW.PRG 499 517 541 541 637 638 655 737 738 807
808 864 866 867 1352 1355 1372 ...
by Antonio Linares
Wed Feb 27, 2013 12:07 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar mensajes
Replies: 8
Views: 877

Re: Capturar mensajes

Puedes usar las funciones nLoWord( nLParam ) y nHiWord( nLParam ) de FWH
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: 1337

Re: New FiveForm.prg in FWH 12.07

... local cPrg := ""
local nFactorX, nFactorY
local cTop, 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 ...
by ukoenig
Mon Oct 17, 2011 2:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Extension to TFolderEx
Replies: 1
Views: 686

Re: Extension to TFolderEx

... Image ( JPG ) :

http://www.pflegeplus.com/pictures/SFBrush2.jpg

LOCAL PixelX := MulDiv( oControl:nWidth(), nLoWord( GetDlgBaseUnits() ), 4 )
LOCAL PixelY := MulDiv( oControl:nHeight(), nHiWord( GetDlgBaseUnits() ), 8 )
...
...
DEFINE IMAGE oImage FILE cImage ...
by Antonio Linares
Sun Sep 18, 2011 6:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog Coordinates
Replies: 14
Views: 4903

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, 4 ...
by MarcoBoschi
Sun Jan 23, 2011 9:07 am
Forum: FiveWin for Harbour/xHarbour
Topic: Minimize Dialog and Window too
Replies: 25
Views: 5455

Re: Minimize Dialog and Window too

... prg in this 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 ...
by TimStone
Tue Nov 09, 2010 7:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Checkbox still strange
Replies: 34
Views: 7060

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 I'm having to ...
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: 4089

Re: TRANSPARENCIA SAY Y CHECKBOX fallan al presionar tecla alt

... 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. ::IsKindOf( "TRADIO" ) .or ...
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: 2064

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 )
EndIf

Return ...