Search found 58 matches: getwindowtext

Return to advanced search

Re: Ayuda con DLL

... local aTasks := {} local cTask while hWnd != 0 #ifdef __CLIPPER__ cTask = GetModuleFileName( GetWindowWord( hWnd, GWW_HINSTANCE ) ) #else cTask = GetWindowText( hWnd ) // The above does now work :-( #endif AAdd( aTasks, cTask ) hWnd = GetWindow( hWnd, GHW_HWNDNEXT ) end Return aTasks // DLL32 ...
by Jorge Jaurena
Tue Jun 04, 2024 2:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con DLL
Replies: 8
Views: 108

Re: Using Microsoft AI Phi-2 from FWH

... HB_DYN_CTYPE_STRUCTURE_PTR Source example: cBuffer := SPACE (1024) nCopyCharacters := HMG_CallDLL ("USER32.DLL", HB_DYN_CTYPE_INT, "GetWindowText", Win_1.HANDLE, @cBuffer, 512) MsgInfo (cBuffer) also ""Callback" Syntax is not available under HMG --- i have made ...
by Jimmy
Thu Dec 21, 2023 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8962

Re: Frase se ajuste a un ancho

... from: c:\fwteam\samples\crist.prg => TCWND:HANDLEEVENT( 217 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3680 ) Called from: => GETWINDOWTEXT( 0 ) Called from: .\source\function\GETTASKS.PRG => ADDTASK( 32 ) Called from: .\source\function\GETTASKS.PRG => (b)GETTASKS( 15 ...
by Antonio Linares
Fri Oct 07, 2022 11:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Frase se ajuste a un ancho
Replies: 22
Views: 2843

Re: API Bancaria

... 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 al contenido de la ventana ? Por ejemplo acceder al objeto html que contiene la ventana de Chrome. ...
by gmart1
Fri Apr 16, 2021 4:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Bancaria (SOLUCIONADO)
Replies: 17
Views: 2464

Change the value

... App1 hGt:=FindWindowEx( hWn, 0, "Edit" , nil ) //Handle of the TGet App1 SetWindowText(hGt, "2") //changing the TGet value The GetWindowText(hGt) function determines that the TGet value has changed. However, checking in App1 doesn't see any changes. If I use TSay , then everything ...
by Natter
Thu Nov 19, 2020 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change the value
Replies: 2
Views: 368

Re: Contents of the input field

Since I need to get the text from someone else's application, the Getwindowtext(hWn) function will return an empty value.
I solved this problem using clipboard

SendMessage(hWn, EM_SETSEL, 0, -1)
SendMessage(hWn, WM_COPY, 0, 0)
buf:=oClp:GetText()
by Natter
Wed Nov 13, 2019 6:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Contents of the input field
Replies: 2
Views: 513

Re: Contents of the input field

Natter,

Do it this way:

MsgInfo( GetWindowText( hWnd ) )
by Antonio Linares
Wed Nov 13, 2019 5:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Contents of the input field
Replies: 2
Views: 513

Re: Paste values into Password Protected Get Objects

... == ::hWnd CallWindowProc( ::nOldProc, ::hWnd, WM_PASTE, 0, 0 ) if ValType( ::oGet:Original ) $ "CM" SetWindowText( ::hWnd, SubStr( GetWindowText( ::hWnd ), 1, Len( ::oGet:Original ) ) ) endif ::oGet:Buffer = GetWindowText( ::hWnd ) ::oGet:Pos = GetCaretPos()[ 2 ] ::oGet:Assign() ...
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: 1223

Re: Ayuda DLL

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)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6651

DBCOMBO Metodos GotFocus() y LostFocus()

... CLASS TDBCombo local nAt := ::SendMsg( CB_GETCURSEL ) if nAt != CB_ERR ::nAt = nAt + 1 Eval( ::bSetGet, ::aItems[ ::nAt ] ) else Eval( ::bSetGet, GetWindowText( ::hWnd ) ) endif //aqui se evalua el blostfocus if ! Empty( ::bLostFocus ) return Eval( ::bLostFocus, Self, ::hWnd ) endif //fin modificacion ...
by mterraz
Mon Jan 09, 2017 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBCOMBO Metodos GotFocus() y LostFocus()
Replies: 4
Views: 2324

Re: How to keep a appl. on top of the dialog on resize ?

... NIL // ---------- FUNCTION FINDWND( cTitle ) local hWnd := GetWindow( GetDesktopWindow(), GW_CHILD ) WHILE hWnd != 0 IF Upper( cTitle ) $ Upper( GetWindowText( hWnd ) ) RETURN hWnd ENDIF hWnd = GetWindow( hWnd, GW_HWNDNEXT ) END RETURN NIL best regards Uwe :D
by ukoenig
Sat Aug 01, 2015 1:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to keep a appl. on top of the dlg on resize ? (solved)
Replies: 5
Views: 2493

Re: Getting the current active window handle

You should to use a similar function to fivewin GetTask(), using window caption so "SKYPE" $ GetWindowText()

Look at GetTask() function on fwh.

Too can to use GetForegroundWindow() for active window.
by hmpaquito
Tue Dec 09, 2014 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Getting the current active window handle
Replies: 11
Views: 1529

CTRL+C minusculo e CTRL+V em GET "@!"

... == ::hWnd CallWindowProc( ::nOldProc, ::hWnd, WM_PASTE, 0, 0 ) if ValType( ::oGet:Original ) $ "CM" SetWindowText( ::hWnd, SubStr( GetWindowText( ::hWnd ), 1, Len( ::oGet:Original ) ) ) endif MsgDelay() //EXISTE OUTRA MANEIRA DE RESOLVER? ::oGet:Buffer = GetWindowText( ::hWnd ) ...
by MGA
Mon Dec 23, 2013 4:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CTRL+C minusculo e CTRL+V em GET "@!"
Replies: 3
Views: 794

Re: "Snap" for Clipper

...  in ?)    WINDOW.PRG     3261  3289 GETWINDOWLONG()        (function  in ?)    WINDOW.PRG      531   881  2776  3867  3942  3960  3980  4088 GETWINDOWTEXT()        (function  in ?)    WINDOW.PRG      626  1443 GETWNDAPP()            (function  in ?)    WINDOW.PRG     2610  3798 GETWNDDEFAULT() ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6808

Re: bug in FW 13.04 combobox

... CB_GETCURSEL ) if nAt != CB_ERR ::nAt = nAt + 1 cRet := If( ::oGet == nil, ::aItems[ nAt + 1 ], ::oGet:GetText() ) //::OGET!!! else cRet := GetWindowText( ::hWnd ) endif return cRet
by byte-one
Mon May 20, 2013 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug in FW 13.04 combobox
Replies: 82
Views: 29592
Next

Return to advanced search