Search found 19 matches: hctrl

Return to advanced search

Re: Can I get object from handle?

Dear Hakan,

Have you checked if EnumChildWindow() returns the TWebView hCtrl ?
by Antonio Linares
Mon Apr 17, 2023 8:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can I get object from handle?
Replies: 15
Views: 1320

Re: Can I get object from handle?

... 0, cTestApp)    IF ! EMPTY(hWnd)       BringWindowToTop( hWnd )       EnumChildWindows( hWnd,;           { | hCtrl | If( GetWindowText( hCtrl ) == "Hello world",;                           ( SetWindowText( hCtrl, "HeyHeyHey" ...
by Horizon
Mon Apr 17, 2023 2:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can I get object from handle?
Replies: 15
Views: 1320

Re: Problem with TrayIcon

The problem only occurs when closed in tray through another executable with command:

PostMessage (hCtrl, WM_CLOSE, 2)

When exit program normaly, the icon disappears correctly.
by shark
Sat Feb 16, 2019 6:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TrayIcon
Replies: 5
Views: 870

Re: Modifly on fly text of Say and button objects

Ok Thank You very Much

It works in this way not -1 but 65535


if GetWindowLong( hCtrl, GWL_ID ) == 65535

I use Pelles

Best regards
Marco
by MarcoBoschi
Tue Dec 09, 2014 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Modifly on fly text of Say and button objects
Replies: 3
Views: 590

Re: How to get objects with ID -1 ?

Elvira,

elvira wrote:And can you please teach us how to change the SAY´s text in rutime mode?.


Once you have hCtrl, did you try using:

Code: Select all  Expand view
SetWindowText( hCtrl, "New text" )


?

EMG
by Enrico Maria Giordano
Thu May 15, 2014 8:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get objects with ID -1 ?
Replies: 14
Views: 2552

Re: "Snap" for Clipper

...  3266  3284 HCTLNEXT                WINDOW.PRG     3258  3262  3267 HCTLPREV                WINDOW.PRG     3275  3280  3286G 3287  3289  3292 HCTRL                  WINDOW.PRG      628   629  3256  3258  3261  3266  3273  3275  3279  3284 HCURSOR                WINDOW.PRG     3504 HDC     ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6697

Re: Error con un programa de fivewin en una maquina virtual

... hMenu[ "TECLA" + cCont ] ] := .t.                         EXIT                      CASE ACC_CONTROL                         ::hKeyDown:hCtrl[ hMenu[ "TECLA" + cCont ] ] := hMenu:accion                         ::hKeyDown:aCtrl[ hMenu[ "TECLA" + cCont ] ] := .t.   ...
by quique
Fri Apr 12, 2013 6:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error con un programa de fivewin en una maquina virtual
Replies: 47
Views: 8685

New FTDN November/Noviembre 2011 (FWH 11.11)

November 2011 ============= * Fix: Some required changes on METHOD GoNextCtrl( hCtrl ) CLASS TWindow, bugs reported in: http://forums.fivetechsupport.com/viewtopic.php?f=3&t=22853&start=0 XBROWSE: Enhancements: * New method in TXBrwColumn class: SetColsAsRows( ...
by Antonio Linares
Thu Nov 24, 2011 9:44 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre 2011 (FWH 11.11)
Replies: 0
Views: 1562

Re: Method KeyChar de la clase TGet

... al siguiente get del dialogo (oDlg1) No se si me he explicado bien, de todas formas lo he podido solucionar de esta forma: METHOD GoNextCtrl( hCtrl ) CLASS TWindow   local hCtlNext, nAt    if oWndFromhWnd( hCtrl ):oWnd:hWnd <> ::hWnd     return oWndFromhWnd( hCtrl ):oWnd:GoNextCtrl( ...
by fgondi
Tue Nov 22, 2011 5:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Method KeyChar de la clase TGet
Replies: 1
Views: 492

FWH 8.10 , window.prg

... control becomes focus and can be edited , but the focus can not be moved. Looking in the source from windows.prg i find for METHOD GoNextCtrl( hCtrl ) CLASS TWindow :    if Upper( ::ClassName() ) != "TDIALOG"      nAt = AScan( ::aControls, ...
by Demont Brecht
Fri Sep 02, 2011 8:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 8.10 , window.prg
Replies: 1
Views: 486

Re: Behaviour of GoNextCtrl

... in FWH 6.2. But thanks for an idea ... Roman In a MDICHILD or GROUPS? When? Change and try this in WINDOW.PRG: [code=/F] METHOD GoNextCtrl( hCtrl ) CLASS TWindow local hCtlNext := NextDlgTab( ::hWnd, hCtrl ), nAt //if Upper( ::ClassName() ) != "TDIALOG" if Upper( ::ClassName() ...
by FiveWiDi
Fri Oct 16, 2009 9:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Behaviour of GoNextCtrl
Replies: 5
Views: 872

Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated

Otto,

Have you previously done this ?

oCtrl:hWnd = hCtrl

Please send me your most recent RE.prg and I will check it here, thanks :-)
by Antonio Linares
Fri Sep 04, 2009 7:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Replies: 38
Views: 11654

Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated

... //----------------------------------------------------------------------------// function InitControls( oDlg )    local hDlg := oDlg:hWnd, hCtrl := GetWindow( hDlg, GW_CHILD ), oCtrl    if hCtrl != 0       oCtrl = TControl()       oCtrl:oWnd = oDlg       oCtrl:hWnd = hCtrl       oCtrl:Link() ...
by Otto
Sun Aug 30, 2009 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Replies: 38
Views: 11654

Re: FWH/xHarbour Menus

... If( ::bStart != nil,; Eval( ::bStart, ::bStart := nil ),), .f. METHOD End( nResult ) METHOD EraseBkGnd( hDC ) METHOD GetHotPos( nChar, hCtrlAt ) METHOD GetItem( nId ) INLINE GetDlgItem( ::hWnd, nId ) METHOD GotFocus() INLINE ::lFocused := .t.,; If( ::bGotFocus != nil, Eval( ::bGotFocus ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7757

saltar gets y controles en fivewin

... del resultado pase al 10 get... e intentado con: oGetxxx:setfocus() __KeyBoard ( CHR (9) ) && el tabulador oDlgxxx:GoPrevCtrl ( hctrl ) && el hctrl no se como se define, alguien puede enviarme un ejemplo oDlgxxx:GoNextCtrl ( hctrl ) && lo mismo no se como se define ...
by J. Ernesto
Thu Feb 26, 2009 6:22 pm
 
Forum: FiveWin para CA-Clipper
Topic: saltar gets y controles en fivewin
Replies: 15
Views: 9171
Next

Return to advanced search