Search found 55 matches: getcoors

Return to advanced search

Re: FWDBG - tamaño de la ventana

Saludos,
En mi caso tomo las coordenadas del video:
aCoord:=GetCoors( GetDesktopWindow() )

Luego creo el dialogo o MDI segun la capacidad del video.
by jnavas
Wed Sep 27, 2023 1:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWDBG - tamaño de la ventana
Replies: 19
Views: 1091

Re: Saber si punto de dialogo esta fuera de la pantalla

... En este caso en la posición vertical 100 Sigo avanzando. Ahora ya puedo determinar donde esta y cuanto mide la barra de tareas de Windows aPos := GetCoors( FindWindow( "Shell_TrayWnd", "" ) ) Una pregunta Leandro, lo que tu necesitas realmente es posicionar el dialogo a la ...
by JESUS MARIN
Fri Jan 31, 2020 5:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber si punto de dialogo esta fuera de pantalla SOLUCIONADO
Replies: 18
Views: 3446

Re: How to get the coordinates of a child window?

but GetCliRect() and GetCliAreaRect() doesn't work as expected, nTop and nLeft are always 0 :o
I then tried GetCoors() and it works: 8)
Image
by frose
Wed Feb 06, 2019 6:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get the coordinates of a child window?
Replies: 5
Views: 800

Re: ¿Dialogo que funcione como ventana?

oDlg:bInit:={||oDlgAjustar(oDlg)
ACTIVATE DIALOG oDlg

RETURN .T.

FUNCTION oDlgAjustar(oDlg)
LOCAL aCoors:=GetCoors( GetDesktopWindow() )
oDlg:Move(0,0,aCoors[3],aCoors[4],.T.)
RETURN .T.
by jnavas
Wed Dec 05, 2018 3:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Dialogo que funcione como ventana?
Replies: 7
Views: 1064

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

Re: Question about ComboBox

... //base height ,nrow for i:=1 TO LEN(::acontrols) oCtrol = odlg:aControls[i] // top:nrow, left:ncol,bottom: nrow, right:ncol aRect = GetCoors( oCtrol:hWnd ) do case case oCtrol:classname()=="TCOMBOBOX" oCtrol:Move( aRect[1]*rsl1, aRect[2]*rsl0 ) // cant not set height of ...
by ShumingWang
Mon Aug 07, 2017 2:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about ComboBox
Replies: 12
Views: 1815

Re: Save dialog coordinates then redisplay same place

Ok I found SetCoors(), and CoorsUpdate() which contains the Function GetCoors() in it. SetCoors() is a method of the TWindow class. Thank you, I will give them a shot. James I also discovered this, below is the code to the Method "SetCoors" in the ...
by byron.hopp
Sat Dec 06, 2014 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save dialog coordinates then redisplay same place
Replies: 26
Views: 5218

Re: La rueda del ratón debe mover todo el reporte arriba y abajo

... lPageUp := .F. DEFAULT lPageDown := .F. DEFAULT lPos := .F. pausa(1) UnSelectAll() FOR i := 1 TO 100 IF aWnd[i] <> NIL aFirstWndCoors := GetCoors( aWnd[i]:hWnd ) EXIT ENDIF NEXT .... cuando realizo el primer scroll pasa la pausa sin cambiar nada , pero al realizar el segundo scroll se ...
by mastintin
Sun Aug 17, 2014 11:17 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: La rueda del ratón debe mover todo el reporte arriba y abajo
Replies: 27
Views: 15211

Re: Resource Dialogs change with PC's

... // height ,nrow for i:=1 TO LEN(::acontrols) oCtrol = ::aControls[i] // top:nrow, left:ncol,bottom: nrow, right:ncol aRect = GetCoors( oCtrol:hWnd ) do case case oCtrol:classname()=="TCOMBOBOX" oCtrol:Move( aRect[1]*rsl1, aRect[2]*rsl0) otherwise oCtrol:Move( aRect[1]*rsl1, ...
by ShumingWang
Wed Apr 30, 2014 3:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource Dialogs change with PC's
Replies: 6
Views: 1468

Re: Problems With vistamenu Items: RESOLVED!!!

Now I resolved !!!! http://s29.postimg.org/pc25gc47r/good.jpg On METHOD GetCoors() CLASS TVistaMenu I insert this lines on case ntype:=1 IF ::aItems[n]:aItems[n2]:lMove nBottom :=nBottom+2 ENDIF before of ::aItems[n]:aItems[n2]:rcItem := { nTop, nLeft, ...
by Silvio.Falconi
Thu Mar 06, 2014 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems With vistamenu Items RESOLVED!!!
Replies: 7
Views: 1408

Re: "Snap" for Clipper

...        (function  in ?)    WINDOW.PRG     1284  1291  1307  1314  1699  2946 GETCLIRECT()           (function  in ?)    WINDOW.PRG      604  1697 GETCOORS()             (function  in ?)    WINDOW.PRG     1425 GETDC()                (function  in ?)    WINDOW.PRG      610   611   622   846   896 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6699

Re: recompilar fiveh.lib

Implementa esta funcion:

function GetCoors( hWnd )

return { WndTop( hWnd ), WndLeft( hWnd ), WndBottom( hWnd ), WndWidth( hWnd ) - WndLeft( hWnd ) }
by Antonio Linares
Mon Sep 24, 2012 12:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: recompilar fiveh.lib
Replies: 47
Views: 15040

Re: Window question

... as methods instead of data. This way the coordinates could be updated within the method before returning a value. Method nTop() local aRect := GetCoors( ::hWnd ) return aRect[1] Or even more simply: Method nTop() return GetCoors(::hWnd)[1] The downside to this design is that the GetCoors() ...
by James Bott
Wed Jun 08, 2011 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Window question
Replies: 8
Views: 1790

Re: Logo en ventana principal con areas transparentes

... definidos. RETURN( NIL ) STAT FUNC Refr_Bmp(hDC,oBmp) LOCAL aRect, hWnd, nColor:=255 LOCAL oBrush, nSteps, nI,n local nBlue := 200 IF lInit aRect:=GetCoors(GetDeskTopWindow()) // Coordenadas de ventana IF aRect[3]>=768 // si > 600x800 la centra aRect[1]:=(aRect[3]-580)/2 aRect[2]:=(aRect[4]-800)/2 ...
by jbrita
Wed Apr 06, 2011 9:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Logo en ventana con areas transparentes (Solucionado)
Replies: 8
Views: 2242

Re: Coloring a line Solved. Now coloring an individual cell

... oDlg;       action(nnOPtion := oTabs:nOption,xpicard(oDlg,oBrw,nnOption,xCol,oSay35,oSay36,oSay37))   update    endif       oDlg:oTop := oTabs    getcoors(ownd1:nTop,ownd1:nLeft,ownd1:nBottom,ownd1:nRight)    if ownd1:nright >= 1020 //.and. ownd1:nright < 1028        if bFont[1]   <= ...
by hag
Fri Jan 14, 2011 3:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Coloring a line Solved. Now coloring an individual cell
Replies: 15
Views: 4363
Next

Return to advanced search