Search found 211 matches: arect

Return to advanced search

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 Nov 16, 2023 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 3.10 - problem with positioning dialog box
Replies: 3
Views: 245

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 Antonio Linares
Thu Jul 20, 2023 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: numeric get
Replies: 8
Views: 319

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, ...
by Marc Venken
Wed May 17, 2023 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric alignment with oPrn:SayText( )
Replies: 8
Views: 534

Re: CLASS TGrid() for FiveWin

...     := oStruc:itemIDitemAction := oStruc:itemActionitemState  := oStruc:itemStatehwndItem   := oStruc:hwndItemhDC        := oStruc:hDCaRect      := oStruc:aRectitemData   := oStruc:itemData each Element of Combobox have to be “paint” by “your” CODE you get a hDC and and aRect to “paint” ...
by Jimmy
Sun Mar 12, 2023 6:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 3454

Re: does Fivewin have a Gradient ComboBox ?

... ) = "__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 ...
by Jimmy
Wed Feb 15, 2023 6:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin have a Gradient ComboBox ?
Replies: 7
Views: 489

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 Natter
Sat Aug 13, 2022 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DC of the window
Replies: 10
Views: 483

Re: DC of the window

oWnd:bPainted := { || oWnd:DrawImage( cPngFile, aRect )
by Antonio Linares
Fri Aug 12, 2022 4:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DC of the window
Replies: 10
Views: 483

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 Jimmy
Mon Aug 01, 2022 11:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: call DLL under FiveWin
Replies: 7
Views: 723

Re: call DLL under FiveWin

Dear Jimmy,

In FWH you have function GetWndRect( hWnd ) --> aRect :-)
by Antonio Linares
Mon Aug 01, 2022 11:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: call DLL under FiveWin
Replies: 7
Views: 723

Re: cyclometric circle

...  // refill area of Polygon     hBrush1 := CreateSolidBrush( nColor )     hOld1:= SelectObject( hBrush1 )     aRect:= { aPoints [1][1], aPoints [2][1], aPoints [3][1], aPoints [4][1]  }  ...
by Silvio.Falconi
Sun Jul 31, 2022 9:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3028

Re: Windows to small ?

... or CreateWindowExW() 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 ?

... or CreateWindowExW() 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: gradiants ?

... for Vertical ( default ) .F. for Horizontal "RING" for ring gradient We can fill parts of window/dialog/control with FillRectEx( hDC, aRect, aGrad ) We can also define gradient brush and assign to a window DEFINE BRUSH oBrush GRADIENT aGrad Brushes get automatically resized when window ...
by nageswaragunupudi
Thu Jun 02, 2022 3:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: gradiants ?
Replies: 7
Views: 564

Re: New FTDN March/Marzo 2022 (FWH 22.03)

... Nuevo ejemplo: \samples\testmult.prg * Print/Display Rich Text - Desde esta versión, los métodos/comandos existentes oWnd:SayText( cText, aRect, ... ) oPrn:SayText( cText, aRect, ... ) @ r,c PRINT TO oPrn TEXT cText SIZE w,h INCHES/CM/MM mostrará automáticamente RichText en caso de que ...
by Antonio Linares
Mon Apr 11, 2022 4:11 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 624

New FTDN March/Marzo 2022 (FWH 22.03)

... command works. New sample: \samples\testmult.prg * Print/Display Rich Text - From this version, the existing methods/commands oWnd:SayText( cText, aRect, ... ) oPrn:SayText( cText, aRect, ... ) @ r,c PRINT TO oPrn TEXT cText SIZE w,h INCHES/CM/MM will automatically display RichText in case the ...
by Antonio Linares
Sun Apr 10, 2022 7:02 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 624
Next

Return to advanced search