Search found 167 matches: findwindow

Return to advanced search

Re: Reason for closing DBF file

Para controlar doble intento de abrrir la misma ventana

IF FindWindow( 0, cTitVen ) > 0
MYMEN("Aviso. Ventana ya esta  en ejecucion : "+cTitVen)
RETURN .F.
ENDIF
by russimicro
Mon Sep 18, 2023 2:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reason for closing DBF file
Replies: 23
Views: 1154

Re: Small Question about Word and FWH

... APIs. Public Const WM_COPYDATA As Integer = &H4A Private Sub CheckJWordDocumentState() ' Find the handle of Application 1 Dim hWnd As IntPtr = FindWindow(Nothing, "Application 1 Window Title") ' Replace "Application 1 Window Title" with the actual title of Application 1 ...
by Antonio Linares
Mon Jul 17, 2023 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Question about Word and FWH
Replies: 29
Views: 1150

Re: Can I get object from handle?

hi, when have only 1 x Control you can use FindWindowEx() "inside" FindWindow() https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexa https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexw ...
by Jimmy
Fri Apr 14, 2023 5:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can I get object from handle?
Replies: 15
Views: 1320

Re: Can I get object from handle?

... oDlg:AControls[1]:SetText(msg) return endif ::Super... From the application with the button we find the handle of the window with TSAY hWn:=FindWindow() and send him a PostMessage (hWn, "myText")
by Natter
Thu Apr 13, 2023 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can I get object from handle?
Replies: 15
Views: 1320

Re: How to fill edit box and click button in another application

hi i done know JAVA so i can only tell you about Windows Control to find Handle of Window you need FindWindow() like in your Sample to find a Control "in" a Window you need FindWindowEx() and "lpszClass" of Control e.g. "Button" https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexa ...
by Jimmy
Wed Feb 15, 2023 2:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to fill edit box and click button in another application
Replies: 13
Views: 1407

Re: Capturar la dirección del navegador

... localizar el handle de la ventana del navegador y enviar esas combinaciones de teclas. El resultado queda en el clipboard. Prueba asi: MsgInfo( FindWindow( "Chrome_WidgetWin_1", 0 ) )
by Antonio Linares
Fri Sep 16, 2022 4:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar la dirección del navegador
Replies: 9
Views: 810

Re: Hierarchy of windows

Rao, thank you for your reply. But I didn 't understand how it would help me ? There is a window of someone else's application under my window and I need to get a window handle of this someone else's application. In this case, using the FindWindow() function is not possible
by Natter
Wed Aug 10, 2022 6:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hierarchy of windows
Replies: 6
Views: 527

Re: How many time my application is run in memory

... this computer. if more than one, I will warn my customer to exit other instances or I will force to close other instances. Thats my purpose. Using FindWindow() function find the first instance hWnd.
by Horizon
Sat May 14, 2022 8:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How many time my application is run in memory (SOLVED)
Replies: 25
Views: 1152

Email automatico con Thunderbird (Solucionado)

... enviarle el Control+ Shift+ Enter para que lo lleve a bandeja salida y asi enviarlos todos de golpe y no tener que esperar. Seria algo asi: hWnd:= FindWindow(0, "Escribir el_asunto_email - Thunderbird" Sendkey(hWnd, VK_CONTROL) SendKey(hWnd, VK_SHIFT) Sendkey(hWnd, VK_ENTER) Pero me falla ...
by hmpaquito
Fri Mar 04, 2022 11:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Email automatico con Thunderbird (Solucionado)
Replies: 0
Views: 249

Re: Insert device context

... save "other Screen" ... normal you just have Control of "your" App --- i do get "Snapshot" of running Video using FindWindow API you got a handle of Windows so you can get Pos / Size but IHMO not DC so i do   SENDKEY( VK_SNAPSHOT ) and "import" ...
by Jimmy
Tue Feb 01, 2022 1:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert device context
Replies: 14
Views: 845

Insert device context

Hi,

I get the device context of someone else's application or browser window:
hDC:=GetWindowDc(FindWindow(...))
Then I need to put this device context on my window. How can I do this ?
by Natter
Mon Jan 31, 2022 6:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert device context
Replies: 14
Views: 845

Re: API Bancaria

Gabriel, Usando FindWindow() y una vez tienes el hWnd de la ventana principal, podrias acceder al hWnd del control donde esta la URL si conoces su ID. Usa Spy++ (te lo instala Visual Studio Community, y es gratuito) para encontrar ...
by Antonio Linares
Mon Apr 19, 2021 6:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Bancaria (SOLUCIONADO)
Replies: 17
Views: 2297

Re: API Bancaria

... es que necesito leer de la ventana de Chrome el authorization_code con que responde la página de identificación. He conseguido con la función : FindWindow(0, "BBVA Connect Google Chrome") recuperar el hWnd de la ventana, y con GetWindowText(hWnd) el título. Pero cómo puedo acceder ...
by gmart1
Fri Apr 16, 2021 4:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Bancaria (SOLUCIONADO)
Replies: 17
Views: 2297

Re: Ctrl+C

Natter,

You can search for the title on the browser window:

hWndBrowser := FindWindow( ,"the title on the browser window" )
by Antonio Linares
Thu Feb 04, 2021 8:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ctrl+C
Replies: 6
Views: 497

Re: Ctrl+C

Thanks, Antonio !

But how can I find the browser window using FindWindow () ?
I don't know in advance which browser it is
by Natter
Thu Feb 04, 2021 8:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ctrl+C
Replies: 6
Views: 497
Next

Return to advanced search