Search found 170 matches: findwindow

Return to advanced search

Re: Need Help giide for my program

Hello Enrico, The FindWindow function in the Windows API is used to find the top-level window that matches the specified class name and window title. It does not work for finding child windows. To find child windows, you need to use ...
by Enrico Maria Giordano
Sun Jul 21, 2024 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2435

Re: Need Help giide for my program

Hello Enrico, The FindWindow function in the Windows API is used to find the top-level window that matches the specified class name and window title. It does not work for finding child windows. To find child windows, you need to use ...
by Otto
Sun Jul 21, 2024 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2435

Re: Need Help giide for my program

No, I don't need it anymore. As I already wrote, I solved it using FINDWINDOW() with window title.
by Enrico Maria Giordano
Sun Jul 21, 2024 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2435

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

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

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

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

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

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

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

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

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

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

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

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: 3120
Next

Return to advanced search