Detect any activity of a window?

Post Reply
Horizon
Posts: 1329
Joined: Fri May 23, 2008 1:33 pm
Has thanked: 6 times
Been thanked: 1 time

Detect any activity of a window?

Post by Horizon »

Hi,

I have a buttonbar and panel in a window. I use webview in panel. I can use eval class with webview.

I wonder Can I detect any manuel activity in this panel to reset timeout time.

Thanks.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
User avatar
leandro
Posts: 1771
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia
Has thanked: 49 times
Been thanked: 13 times
Contact:

Re: Detect any activity of a window?

Post by leandro »

Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 24.09 ] [ xHarbour 64 bits) ]
Horizon
Posts: 1329
Joined: Fri May 23, 2008 1:33 pm
Has thanked: 6 times
Been thanked: 1 time

Re: Detect any activity of a window?

Post by Horizon »

Thank you very much for your answer.

But, I have more than once windows in my application. I just want to detect only one window. Not all my application.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
User avatar
Antonio Linares
Site Admin
Posts: 42655
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 67 times
Been thanked: 96 times
Contact:

Re: Detect any activity of a window?

Post by Antonio Linares »

Dear Hakan,

You could use oWindow:bMMoved to check if the mouse was moved over the window
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
karinha
Posts: 7963
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 5 times
Contact:

Re: Detect any activity of a window?

Post by karinha »

Buen día. Puedes usar la función indicada por Leandro, solo modifícala para que "suelte" la ventana o diálogo. En lugar de usar QUIT, use RETURN NIL, o "mate" todo el sistema y reinícielo con .BAT. Tu imaginación es el limite. Prueba y mira con tus propios ojos por favor.

Good Morning. You can use the function indicated by Leandro, just modify it so that it "drops" the window or dialog. Instead of using QUIT, use a RETURN NIL, or "kill" the whole system and restart it with a .BAT. Your imagination is the limit. Test and see with your own eyes please.

Si no sabe cómo reiniciar el sistema con un .BAT, hágamelo saber y le haré una DEMO, ¿de acuerdo?

If you don't know how to restart the system with a .BAT, please let me know and I'll make a DEMO for you, ok?

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Post Reply