Search found 216 matches: arect

Searched query: arect

by Antonio Linares
Fri Jan 17, 2025 10:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4833

Re: Using new Class TDeepSeek for documenting

... position.
- `nKeyFlags`: Key flags.

25. **`FillArea()`**:
- **Description**: Fills a specific area of the button bar.
- **Parameters**:
- `aRect`: Rectangle coordinates.
- `uFill`: Fill value.

26. **`Paint()`**:
- **Description**: Paints the button bar.

27. **`CloseGroup ...
by Willi Quintana
Fri Oct 04, 2024 4:03 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Usar dos monitores, mostrar cosas diferentes
Replies: 8
Views: 1557

Re: Usar dos monitores, mostrar cosas diferentes

... define SM_XVIRTUALSCREEN 76
#define SM_YVIRTUALSCREEN 77
#define SM_CXVIRTUALSCREEN 78
#define SM_CYVIRTUALSCREEN 79

local oWndMM
local oBar
local aRect

IF CountMonitors() > 1
Return( GetSysMetrics(0) + 1 )
EndIf
Return(0 ...
by Antonio Linares
Thu Oct 03, 2024 7:52 am
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2024 (FWH 24.09)
Replies: 5
Views: 2889

Re: New FTDN September/Septiembre 2024 (FWH 24.09)

... objeto TRect

* Mejora: La función RingGradientFill() ahora puede usar gradientes de color Alpha.

* Nuevo: Nueva función GDIP_ELLIPSE( hDC, aRect, nBorderClr, [nFillClr] )
Puede usar colores Alpha.

* Nuevo: Nueva función GDIP_RINGGRAD( hDC, x, y, naRad1, naRad2, nInnerClr,nOuterClr ...
by Antonio Linares
Wed Oct 02, 2024 4:11 pm
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2024 (FWH 24.09)
Replies: 5
Views: 2889

New FTDN September/Septiembre 2024 (FWH 24.09)

... nRadiusY] ) --> TRect object

* Enahancement: function RingGradientFill() can now use alpha
color gradients

* New function GDIP_ELLIPSE( hDC, aRect, nBorderClr, [nFillClr] )
Can use alpha colors

* New function GDIP_RINGGRAD( hDC, x, y, naRad1, naRad2, nInnerClr,nOuterClr)
Gradient fill of ...
by Antonio Linares
Mon May 13, 2024 4:22 am
Forum: FiveWin para Harbour/xHarbour
Topic: Get infield
Replies: 4
Views: 760

Re: Get infield

Puedes probar con estas claúsulas:
[INRECT <aInRect>];
aRect for paint: coordinates relative to nTop and nBottom of get

[INSIZE <nInWidth>, <nInHeight> ];
Width and Height for box paint
by Antonio Linares
Thu Nov 16, 2023 11:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 3.10 - problem with positioning dialog box
Replies: 3
Views: 485

Re: FWH 3.10 - problem with positioning dialog box

Dear Michel,

Do you use this ? Maybe you wrote ON MOVE by mistake:

ACTIVATE DIALOG ArcLeg RESIZE16 NOWAIT ON MOVE ArcLeg:Move(aRect[1],aRect[4],,,.T.)

or

ACTIVATE DIALOG ArcLeg RESIZE16 NOWAIT ON INIT ArcLeg:Move(aRect[1],aRect[4],,,.T.)
by Antonio Linares
Thu Jul 20, 2023 11:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: numeric get
Replies: 8
Views: 706

Re: numeric get

Dear Detlef,

Please modify this line in tget.prg this way:

FW_SayText( ::hDC, If( Empty( Eval( ::bSetGet ) ), "", Transform( Eval( ::bSetGet ), ::cPicture ) ), aRect, "R", ::oFont, ::nClrText )

now it works as you need :-)
by Marc Venken
Wed May 17, 2023 10:40 am
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric alignment with oPrn:SayText( )
Replies: 8
Views: 1598

Re: Numeric alignment with oPrn:SayText( )

From Whatnew

* TWindow Method SayText( cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder )
Applies to all derived classes like dialogs and controls
To be used in o:bPainted.


function FW_SayText( hDC or oWnd, cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder )
Can be used with ...
by Jimmy
Sun Mar 12, 2023 6:41 am
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 28
Views: 7621

Re: CLASS TGrid() for FiveWin

... oStruc:CtlID
itemID := oStruc:itemID
itemAction := oStruc:itemAction
itemState := oStruc:itemState
hwndItem := oStruc:hwndItem
hDC := oStruc:hDC
aRect := oStruc:aRect
itemData := oStruc:itemData
each Element of Combobox have to be “paint” by “your” CODE
you get a hDC and and aRect to “paint” Data ...
by Jimmy
Wed Feb 15, 2023 6:33 am
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin have a Gradient ComboBox ?
Replies: 7
Views: 763

Re: does Fivewin have a Gradient ComboBox ?

... aStruc ) = "__itemSetObj( {{CTLTYPE, 3}, {CTLID, 109}, {ITEMID, 0}, {ITEMACTION, 1}, {ITEMSTATE, 4096}, {HWNDITEM, 1770774}, {HDC, 1157698194}, {ARECT, {3, 3, 35, 70}}, {ITEMDATA, `ęƒ}}, {{TDRAWITEMSTRUCT,}} )"

nPointer = 1373540
it seems to have what is need for Ownerdraw ComboBox ... now work ...
by Natter
Sat Aug 13, 2022 8:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: DC of the window
Replies: 10
Views: 691

Re: DC of the window

Method oWnd:DrawImage( cPngFile, aRect ) works. Is it possible to read from bitmap not all the picture, but only the required fragment ?
by Antonio Linares
Fri Aug 12, 2022 4:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DC of the window
Replies: 10
Views: 691

Re: DC of the window

oWnd:bPainted := { || oWnd:DrawImage( cPngFile, aRect )
by Jimmy
Mon Aug 01, 2022 11:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: call DLL under FiveWin
Replies: 7
Views: 1043

Re: call DLL under FiveWin

hi Antonio,
Antonio Linares wrote:In FWH you have function GetWndRect( hWnd ) --> aRect :-)
Yes ... just a Sample for Xbase++ and HMG Syntax

i want to use "as much old Code" as possible so i like to know how under FiveWin, thx
by Antonio Linares
Mon Aug 01, 2022 11:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: call DLL under FiveWin
Replies: 7
Views: 1043

Re: call DLL under FiveWin

Dear Jimmy,

In FWH you have function GetWndRect( hWnd ) --> aRect :-)
by Silvio.Falconi
Sun Jul 31, 2022 9:19 pm
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 11
Views: 7579

Re: cyclometric circle

... 46;cc/SxdKLwbC/bu&#46;png

// refill area of Polygon hBrush1 := CreateSolidBrush&#40; nColor &#41; hOld1:= SelectObject&#40; hBrush1 &#41; aRect:= &#123; aPoints &#91;1&#93;&#91;1&#93;, aPoints &#91;2&#93;&#91;1&#93;, aPoints &#91;3&#93;&#91;1&#93;, aPoints &#91;4&#93;&#91;1&#93; &#125 ...