Search found 1712 matches: paint

Return to advanced search

Re: Transparent Png on MDI Parent

Dear Byron,

Please post the code you are using to paint it
by Antonio Linares
Thu May 09, 2024 2:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Transparent Png on MDI Parent
Replies: 5
Views: 160

Re: combobox color

... have itemID of DRAWITEMSTRUCT structure https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-drawitemstruct METHOD Paint() CLASS TComboMetro does not have any itemID to identify it
by Jimmy
Sun Apr 28, 2024 4:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: combobox color
Replies: 22
Views: 613

Re: combobox color

Dear Jimmy, I think using TComboMetro and changing the Paint method would be an option. Best regards, Otto METHOD Paint() CLASS TComboMetro   local aInfo, aRect, hBrush   local nBtnTop, nBtnLeft   aInfo    := ...
by Otto
Sun Apr 28, 2024 7:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: combobox color
Replies: 22
Views: 613

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse. Also oBrw:nDataRows changes when browse is resized. DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= oBrw:nLen ) would work Not%20working ...
by Silvio.Falconi
Tue Mar 26, 2024 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1742

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse.
Also oBrw:nDataRows changes when browse is resized.

Code: Select all  Expand view
DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= oBrw:nLen )

would work
by nageswaragunupudi
Tue Mar 26, 2024 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1742

Re: WebView resize

Dear Otto, You are creating a new TWebView object on each PAINT event! You have to modify your code this way: function webshow(console,hWnd, nlink)   local hPost := {}   local cHtmlOrUrl :=  "C:\fwh2023\samples\address.html"  ...
by Antonio Linares
Sat Mar 09, 2024 8:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2138

Re: A picture on top of the text

1) Text Bottom aligned and image top aligned?
or
2) Paint text in foreground over image as background?
or
3) Text as background and transparent image as foreground?
by nageswaragunupudi
Tue Mar 05, 2024 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A picture on top of the text
Replies: 5
Views: 370

FWH Gradiens .. seem slower FWH 2310 - RAO

Rao As you know I use Functions to paint my screen Gradients .. for some reason the DarkGreyGrad() functions paints much slower than the LightGreyGrad) FUnction ... especially with FWH2310 ... older versions of FWH are not effected ... //--------------------Func ...
by Rick Lipkin
Sat Feb 24, 2024 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH Gradiens .. seem slower FWH 2310 - RAO
Replies: 2
Views: 182

Re: Cambio de imagen a 1 boton

... oBar FILE "Efectivo.bmp" ; ACTION (oBoton1:cCaption:='Cheque',oBoton1:FreeBitmaps(),oBoton1:LoadBitMaps("Cheque4.Bmp"),oBoton1:Paint(),oBoton1:refresh(),Cobros()) ; MESSAGE "Mantenimiento de Cobros"; PROMPT "Cobros" oBoton1:lTransparent = .t. y se que solo ...
by José Camilo
Wed Feb 14, 2024 3:17 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambio de imagen a 1 boton
Replies: 10
Views: 297

Re: Mark field as required

... changes to the TGet class consist of adding a new data bMandatory that returns .t. If the Get is mandatory and a call to a new method, in the ::Paint() method draw a triangle in the lower left corner of the TGet() https://i.ibb.co/GR84PXB/Snag-2da06c7.png   // --------  DRAW ...
by paquitohm
Sun Feb 04, 2024 9:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 1785

Re: winexec ó ShellExecute

hi,
when DblClick in Explorer on a *.BMP it will open *.BMP with associate App like Paint
Winexec() "just" call "special" EXE while ShellExecute() is use with associate File
by Jimmy
Thu Dec 14, 2023 4:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: winexec ó ShellExecute
Replies: 8
Views: 966

Re: Tget /tsay disable/enable

If you want to paint on the dialog then you must use the hDC of the dialog, don't use the hDC of the control Function MakeBox(oControl,oDlgEdit)   local oBox   local aRect := GetClientRect(oControl:hWnd ...
by Silvio.Falconi
Thu Nov 09, 2023 10:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tget /tsay disable/enable
Replies: 5
Views: 382

Re: Tget /tsay disable/enable

If you want to paint on the dialog then you must use the hDC of the dialog, don't use the hDC of the control
by Antonio Linares
Thu Nov 09, 2023 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tget /tsay disable/enable
Replies: 5
Views: 382

Re: Xbase++ :lockUpdate() -> Fivewin ?

hi,

have a look at https://learn.microsoft.com/de-de/windows/win32/api/winuser/nf-winuser-lockwindowupdate

i use it e,g, when "re-size" a Window and do NOT want "paint" until all is finish
by Jimmy
Thu Nov 02, 2023 6:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbase++ :lockUpdate() -> Fivewin ?
Replies: 10
Views: 785

Re: Moving the dialog

Dear Yuri, when a window, dialog or control is painted, FWH evals oWnd:bPainted if defined from METHOD Paint() CLASS TWindow      if ValType( ::bPainted ) == "B"         uVal = Eval( ::bPainted, ::hDC, ::cPS, Self )      endif ::cPS ...
by Antonio Linares
Mon Oct 23, 2023 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Moving the dialog
Replies: 8
Views: 509
Next

Return to advanced search