Search found 33 matches: getclirect

Return to advanced search

Re: Another for Btnbmp

... You can do this by drawing a rectangle using functions like WndBoxClr, where you can specify the brush or pen color. Otto local hPen, oCli := ::GetCliRect() hPen = CreatePen( PS_SOLID, 1, nRGB( 255, 0, 0 ) ) WndBoxClr( ::GetDC(), 1, 1, oCli:nBottom - 2, oCli:nRight - 2, hPen ) DeleteObject( ...
by Otto
Tue Mar 26, 2024 12:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4950

Scroll of Panel not at the same Height of Xbrowse

... How I must set the scroll to have the same height of the xbrowse ? I made oDlg:bResized := <|| local oRect := oDlg:GetCliRect() oBar:nWidth:= oRect:nRight oBrw:nWidth:= oRect:nRight-290 oBrw:nHeight:= oRect:nBottom-45 oPanel:nTop := oRect:ntop +40 oPanel:nLeft := ...
by Silvio.Falconi
Wed Jan 11, 2023 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Scroll of Panel not at the same Height of Xbrowse
Replies: 2
Views: 300

Re: Windows to small ?

... depending on whether the application is ANSI or Unicode. We can use simplified functions of FWH: GetClientArea( hWnd ) --> aRect oWnd:GetCliRect() --> oRect
by nageswaragunupudi
Fri Jul 29, 2022 4:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows to small ?
Replies: 7
Views: 455

Re: Windows to small ?

... depending on whether the application is ANSI or Unicode. We can use simplified functions of FWH: GetClientArea( hWnd ) --> aRect oWnd:GetCliRect() --> oRect
by nageswaragunupudi
Fri Jul 29, 2022 4:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows to small ?
Replies: 7
Views: 455

Re: About TCalendar

... } ::oDtPick:bChange = { | o | ::ChangeDate( o ) } oPanel:bResized := <|| local oRect :=oPanel:GetCliRect() ::oDtPick:nWidth := oRect:nRight return nil > seem to run , but there is something bad
by Silvio.Falconi
Tue Dec 29, 2020 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: About TCalendar
Replies: 16
Views: 2779

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

Leandro, los objetos de FW , tienen propiedades como nTop, nLeft, nBottom, nRight y otros metodos como GetCliRect() con los que puedes conseguir, la ubicación del objeto y su tamaño, en base a esa información podrías deducir lo que necesitas en función de la resolucion de ...
by Marcelo Via Giglio
Wed Jan 29, 2020 8:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber si punto de dialogo esta fuera de pantalla SOLUCIONADO
Replies: 18
Views: 3445

Re: oWnd:oClient := oPanel

... oFont oDlgTariffe:aMinMaxInfo := { nil, nil, nil, nil, 878, 570, nil, nil } //878, 570 oDlgTariffe:bResized := <|| local oRect := oDlgTariffe:GetCliRect() local x:= oBrw1:nBottom oBtnCheck:nLeft := oRect:nRight - 395 oBtnCheck:nTop := oRect:nBottom - 50 oBtnPrint:nLeft := oRect:nRight - 220 ...
by Silvio.Falconi
Tue May 28, 2019 11:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oWnd:oClient := oPanel
Replies: 39
Views: 3974

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

but GetCliRect() and GetCliAreaRect() doesn't work as expected

They always start with 0,0. That is to be expected.
by nageswaragunupudi
Wed Feb 06, 2019 7:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get the coordinates of a child window?
Replies: 5
Views: 800

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: How to get the coordinates of a child window?

The methods :GetCliRect() and :GetCliAreaRect() are doing exactly what I was looking for :!: Here are some posts regarding these two methods: http://forums.fivetechsupport.com/viewtopic.php?f=3&t=8733&p=41038&hilit=GetCliRect#p41038: ...
by frose
Tue Feb 05, 2019 8:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get the coordinates of a child window?
Replies: 5
Views: 800

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

... lPageUp, lPageDown, lPos, nPosZugabe ) LOCAL i, aFirstWndCoors, nAltWert LOCAL nZugabe := 14 LOCAL nPageZugabe := 392 LOCAL aCliRect := oMainWnd:GetCliRect() DEFAULT lUp := .F. DEFAULT lDown := .F. DEFAULT lPageUp := .F. DEFAULT lPageDown := .F. DEFAULT lPos := .F. pausa(1) UnSelectAll() FOR ...
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: 15127

Re: "Snap" for Clipper

...  in ?)    WINDOW.PRG     1393  3237  3286  4061 GETCLIENTRECT()        (function  in ?)    WINDOW.PRG     1284  1291  1307  1314  1699  2946 GETCLIRECT()           (function  in ?)    WINDOW.PRG      604  1697 GETCOORS()             (function  in ?)    WINDOW.PRG     1425 GETDC()         ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6698

Re: FWH 11.11 Errors - FWH / Harbour 3.0 / MSVC

... nil     http://img443.imageshack.us/img443/1625/captureko.png Also, as you mention that the error is related to GetCliRect(), it seems as it may come from bar.prg lines 81 and 158. We could add this code to prevent from such error: METHOD New( oWnd, nBtnWidth, ...
by Antonio Linares
Sat Dec 03, 2011 1:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 11.11 Errors - FWH / Harbour 3.0 / MSVC
Replies: 16
Views: 10208

Re: FWH 11.11 Errors - FWH / Harbour 3.0 / MSVC

This first screen shot shows the screen that always displayed correctly in the past. Now with 11.11 it gets the error I mentioned with GetCliRect being unknown. Note that each folder page has its own bar control plus the dialog has one. It will not activate the dialog as a result, so there ...
by TimStone
Fri Dec 02, 2011 11:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 11.11 Errors - FWH / Harbour 3.0 / MSVC
Replies: 16
Views: 10208

FWH 11.11 Errors - FWH / Harbour 3.0 / MSVC

... each folder also. This works fine in the former xharbour/fwh10.9 build. However, with 11.11 and Harbour / MSVC, I get the error No exported method GetCliRect when trying to open dialog 2. Obviously, tbar was called with dialog 1, so there must be a problem with multiple bar controls now. They worked ...
by TimStone
Fri Dec 02, 2011 6:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 11.11 Errors - FWH / Harbour 3.0 / MSVC
Replies: 16
Views: 10208
Next

Return to advanced search