Search found 62 matches: nmsg

Return to advanced search

Re: calendar not run ( DBLCLICK)

METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TCalendar

// TODO: Verify others messages

if nMsg==WM_LBUTTONUP
::Super:HandleEvent( nMsg, nWParam, nLParam )
endif
return nil



wich is the message for doubleclick ? ( wm_ ?)
by Silvio.Falconi
Sun May 21, 2023 8:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calendar not run ( DBLCLICK)
Replies: 20
Views: 2764

Re: Can I get object from handle?

... You can do this. In the TSAY application in the window method ::handleEvent() describing the processing of a unique event. For example: if valtype(nMsg)="C" oDlg:AControls[1]:SetText(msg) return endif ::Super... From the application with the button we find the handle of the window with ...
by Natter
Thu Apr 13, 2023 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can I get object from handle?
Replies: 15
Views: 1901

Re: how to get WM_POWERBROADCAST under Fivewin ?

hi Antonio,
Antonio Linares wrote:You have to inherit a new class from TWindow and redefine the Method HandleEvent( nMsg, nWParam, nLParam )

Ok, thx i will try it
by Jimmy
Sat Feb 04, 2023 8:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get WM_POWERBROADCAST under Fivewin ?
Replies: 7
Views: 625

Re: how to get WM_POWERBROADCAST under Fivewin ?

Dear Jimmy, You have to inherit a new class from TWindow and redefine the Method HandleEvent( nMsg, nWParam, nLParam ) CLASS TMyWindow FROM TWindow   CLASSDATA lRegistered      METHOD HandleEvent( nMsg, nWParam, nLParam ) ENDCLASSMETHOD ...
by Antonio Linares
Sat Feb 04, 2023 7:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get WM_POWERBROADCAST under Fivewin ?
Replies: 7
Views: 625

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

Re: Paste values into Password Protected Get Objects

... - WITHOUT REFRESH PASSWORD IS SHOWN IF PASTED CLASS TPGet FROM TGET DATA CTRL_V AS CHARACTER METHOD KeyChar( nKey, nFlags ) METHOD HandleEvent( nMsg, nWParam, nLParam ) ENDCLASS ********************* METHOD KeyChar( nKey, nFlags ) CLASS TPGet SELF:CTRL_V := 'N' IF NKEY = K_CTRL_V //** NKEY=22 ...
by don lowenstein
Tue Oct 15, 2019 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paste values into Password Protected Get Objects
Replies: 6
Views: 1414

Re: How to Create Easy Report Designer Files ?

... 'STATIC'" .\source\ereport.prg(5315) Warning W0001 Ambiguous reference 'SELF' .\source\ereport.prg(5317) Warning W0001 Ambiguous reference 'NMSG' .\source\ereport.prg(5318) Warning W0001 Ambiguous reference 'SELF' .\source\ereport.prg(5318) Warning W0001 Ambiguous reference 'NLPARAM' .\source\ereport.prg(5318) ...
by Otto
Sun Jan 06, 2019 5:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Create Easy Report Designer Files ?
Replies: 35
Views: 7858

Re: How to Create Easy Report Designer Files ?

... 'STATIC'" .\source\ereport.prg(5315) Warning W0001 Ambiguous reference 'SELF' .\source\ereport.prg(5317) Warning W0001 Ambiguous reference 'NMSG' .\source\ereport.prg(5318) Warning W0001 Ambiguous reference 'SELF' .\source\ereport.prg(5318) Warning W0001 Ambiguous reference 'NLPARAM' .\source\ereport.prg(5318) ...
by Otto
Sat Jan 05, 2019 11:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Create Easy Report Designer Files ?
Replies: 35
Views: 7858

Re: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE

... CONSTRUCTOR METHOD Replace(cField,uValue) METHOD Commit(cWhere) METHOD AppendBlank() INLINE ::lAppend:=.T. METHOD InsertInto() METHOD HandleEvent(nMsg, nWParam, nLParam ) EXTERN ; WndHandleEvent( Self, nMsg, nWParam, nLParam ) METHOD End() ENDCLASS METHOD New( cSql,lLoad, oDataBase) CLASS Ttable ...
by Compuin
Mon Nov 12, 2018 8:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
Replies: 15
Views: 4443

Re: right mouseclick

... is that the position where the pop is show must be passed to the handle. the code we have can pass up to 3 parameters:   function _FMH (hWnd, nMsg, hSender, uParam1, uParam2, uParam3) We would have to add one more parameter ( I do not think it creates problems ) the parameters to pass would ...
by mastintin
Mon Jun 11, 2018 4:39 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: right mouseclick
Replies: 16
Views: 6506

Re: Error en la clase ssay

... 296 ) Called from: .\_a_say_dinamico.prg => MAIN( 37 ) Luego entonces cambie el return de los metodos Return ::Super:HandleEvent ( nMsg, nWParam, nLParam ) y Return ::Super:Destroy () y ya FUNCIONA Gracias
by J. Ernesto
Mon Apr 02, 2018 10:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la clase ssay Cambie el return y Funciona OK
Replies: 4
Views: 742

Message to the program from Excel

... messages through its Handleevent method (by Daniel) CLASS TMyDialog FROM TDialog ............................... ENDCLASS METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TMyDialog if nMsg == 50000 MsgBeep() endif return Super:HandleEvent( nMsg, nWParam, nLParam ) Everything works, but message ...
by Natter
Fri Jun 02, 2017 7:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Message to the program from Excel
Replies: 0
Views: 389

Re: WM_DEVICECHANGE ???????

... to use the sample posted by Mr.Daniel ? For me, his sample is working fine here on both Harbour and xHarbour. Instead of return Super:HandleEvent( nMsg, nWParam, nLParam ) change it to return ::Super:HandleEvent( nMsg, nWParam, nLParam )
by anserkk
Fri Jun 02, 2017 4:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WM_DEVICECHANGE ???????
Replies: 11
Views: 2524

Re: Forma correcta de configurar clase TSBUTTON...alguna ayuda?

... for method: GotFocus( hCtlLost )' .\prg\TSBUTTON.PRG(1290) Error E0019 #error: 'Class "TSButton" not declared for method: HandleEvent( nMsg, nWParam, nLParam )' .\prg\TSBUTTON.PRG(1302) Error E0019 #error: 'Class "TSButton" not declared for method: HasAlpha( hBitMap )' .\prg\TSBUTTON.PRG(1318) ...
by Compuin
Mon May 02, 2016 2:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forma correcta de configurar clase TSBUTTON...alguna ayuda?
Replies: 14
Views: 4496

Re: DllPreparecall

mosh1 wrote:
DLL FUNCTION Shell_NotifyIcon( nMsg AS LONG, pNID AS LPSTR ) AS BOOL PASCAL ;
FROM "Shell_NotifyIconA" LIB "shell32.dll"


Hi Antonio,

Is this function alive?. I have tried like below. It did not worked.

Shell_NotifyIcon("testtesttest")
by Horizon
Tue Dec 29, 2015 10:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DllPreparecall
Replies: 14
Views: 3072
Next

Return to advanced search