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
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)...
... ::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 ...
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, ...
... ::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 double ...