Search found 40 matches: setwindowtext

Return to advanced search

Change the value

... ,"The dialog title") //Handle of the dialog 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 ...
by Natter
Thu Nov 19, 2020 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change the value
Replies: 2
Views: 364

Re: Paste values into Password Protected Get Objects

... case nMsg == WM_PASTE if GetFocus() == ::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()[ ...
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: 1192

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

Re: OLE Object Title

Darrell,

Thankfully, the InternetExplorer.Application COM type exposes a HWND property, which contains the handle to the window.


Try this:

SetWindowText( oOle:HWND, "This is a test" )
by Antonio Linares
Fri May 19, 2017 10:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE Object Title
Replies: 2
Views: 705

Re: FiveODBC Error Message

... endif Browse() oDbf:End() Return nil STATIC FUNCTION ChkCursor(n, oDbf, oDlg) local hWnd := GetActiveWindow() if hWnd != oDlg:hWnd if n == 0 SetWindowText(hWnd, "Rows completally retrieved: "+ Transform(oDbf:RecCount(), "999,999")) else SetWindowText(hWnd, "Rows retrieved ...
by Compuin
Mon Dec 26, 2016 4:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveODBC Error Message
Replies: 27
Views: 4285

Re: multiple defintions, forst defined here

I changed the folder I was using to start hbmk2 to where the source code sits, and now am getting undefined instead of duplicates This is due, I guess, to not pulling in the correct library(ies). I added trace to see what was going on (thanks for that tip). Does this and the console listing below he...
by lmheimendinger
Mon Dec 05, 2016 11:37 pm
 
Forum: FiveWin for CA-Clipper
Topic: multiple defintions, forst defined here
Replies: 15
Views: 20620

Re: New FWH 16.01

... Initiate() in say.prg CODE: SELECT ALL EXPAND VIEW ::SetText( ::cCaption ) // here is the bug substitute this line CODE: SELECT ALL EXPAND VIEW SetWindowText( ::hWnd, ::cCaption ) There is another bug in method VarPut(), though this is never reported. Better this is also corrected: Replace this ...
by tiaofw
Tue Jan 26, 2016 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 16.01
Replies: 17
Views: 5484

Re: Connect to Advantage Database

Hi Antonio , I try to make some test on FLH this morning. After install UBUNTU 14.04 LTS and all the packages needs to compile FLH i've a lot of errors like this: compiling... Harbour 2.1.0rc2 (Rev. 16643) Copyright (c) 1999-2011, http://harbour-project.org/ Compiling 'tutor01.prg'... Lines 1097, Fu...
by giuliano
Thu Aug 06, 2015 10:43 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Connect to Advantage Database
Replies: 31
Views: 11596

Re: Problema o Bug TSAY

Buenos días Antonio, Ya lo he probado y he analizado todas las posibilidades. El TSAY no usa setWindowText, nada más que para cambiar el Caption, pero realmente, el control se encarga de pintarlo internamente sin poder influir yo en el pintado. La única solución que he ...
by jmartial
Mon Feb 02, 2015 11:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema o Bug TSAY
Replies: 13
Views: 2040

Re: Problema o Bug TSAY

Antonio, He estado leyendo sobre el tema, y parece ser que setwindowtext, realmente llama a drawtext con unos estilos de alineación predefinidos. Creo que sustituyendo en la clase Tsay, la llamada setwindowtext , por una llamada a drawtext alineada correctamente, ...
by jmartial
Sun Feb 01, 2015 11:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema o Bug TSAY
Replies: 13
Views: 2040

Re: TEdit V TGet

Richard, I only see this in the code: SetWindowText ( ControlHandle , value ) and such function is not defined in the code that you have posted. So it has to be some where else and probably inside it is where unicode is taken into account. ...
by richard-service
Wed Dec 10, 2014 12:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TEdit V TGet
Replies: 16
Views: 3332

Re: TEdit V TGet

Richard,

I only see this in the code:

SetWindowText ( ControlHandle , value )

and such function is not defined in the code that you have posted.

So it has to be some where else and probably inside it is where unicode is taken into account.

Search for it, please :-)
by Antonio Linares
Wed Dec 10, 2014 12:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TEdit V TGet
Replies: 16
Views: 3332

Re: Unicode support in FWH 14.09

...    If( ::lUnicode,;                               SetWindowTextW( ::hWnd, ::cCaption ),;                              ...
by Antonio Linares
Sun Oct 12, 2014 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode support in FWH 14.09
Replies: 18
Views: 5792

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

... case nMsg == WM_PASTE if GetFocus() == ::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 ...
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: 778

Re: GET like facebook's search.

... was and if you approve. (sorry for my english) METHOD DispText() CLASS MyGet if ::lPassword .and. ::oGet:Type == "C" #ifdef __CLIPPER__ SetWindowText( ::hWnd, Replicate( "*", Len( Trim( ::oGet:buffer ) ) ) ) #else SetWindowText( ::hWnd, Replicate( If( IsAppThemed(), Chr( 149 ...
by emotta_no
Thu Aug 22, 2013 5:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET like facebook's search.
Replies: 1
Views: 580
Next

Return to advanced search