... 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 ...
Search found 216 matches: arect
Searched query: arect
- Fri Jan 17, 2025 10:37 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4833
- 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 ...
#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 ...
- 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 ...
* 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 ...
- 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 ...
* 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 ...
- 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
- 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.)
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.)
- 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![Smile :-)](./images/smilies/icon_smile.gif)
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
![Smile :-)](./images/smilies/icon_smile.gif)
- 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 ...
* 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 ...
- 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 ...
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 ...
- 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 ...
nPointer = 1373540
it seems to have what is need for Ownerdraw ComboBox ... now work ...
- 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 ?
- 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 )
- 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,
i want to use "as much old Code" as possible so i like to know how under FiveWin, thx
Yes ... just a Sample for Xbase++ and HMG SyntaxAntonio Linares wrote:In FWH you have function GetWndRect( hWnd ) --> aRect
i want to use "as much old Code" as possible so i like to know how under FiveWin, thx
- 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![Smile :-)](./images/smilies/icon_smile.gif)
In FWH you have function GetWndRect( hWnd ) --> aRect
![Smile :-)](./images/smilies/icon_smile.gif)
- 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.png
// refill area of Polygon hBrush1 := CreateSolidBrush( nColor ) hOld1:= SelectObject( hBrush1 ) aRect:= { aPoints [1][1], aPoints [2][1], aPoints [3][1], aPoints [4][1] } ...
// refill area of Polygon hBrush1 := CreateSolidBrush( nColor ) hOld1:= SelectObject( hBrush1 ) aRect:= { aPoints [1][1], aPoints [2][1], aPoints [3][1], aPoints [4][1] } ...